バージョン

個別の日として週末を表示

デフォルトで、WebMonthView は週末を1日に圧縮して表示します。 WeekendDisplayFormat プロパティを設定することによって希望する場合にはこの機能を変更できます。

以下のコードは  WeekendDisplayFormat 列挙体を使用したこのプロパティの設定を示しています。

WebSchedule How to Show Separate Days for Saturday and Sunday 01.png

Visual Basic の場合:

Imports Infragistics.WebUI.WebSchedule
...
Private Sub Page_Load(ByVal sender As System.Object, ByVal e _
As System.EventArgs) Handles MyBase.Load
Me.WebMonthView1.WeekendDisplayFormat = WeekendDisplayFormat.Full
End Sub

C# の場合:

using Infragistics.WebUI.WebSchedule;
...
private void Page_Load(object sender, System.EventArgs e)
{
this.WebMonthView1.WeekendDisplayFormat = WeekendDisplayFormat.Full;
}