PowerTools CalendarGrid for Windows Forms 1.0J
行数と列数を設定する(テンプレート)

テンプレートの行数と列数を設定するには、次のプロパティを使用します。           

これらのプロパティを使用することで、テンプレートを構成する4つのセクションの行数と列数を設定できます。

次のコードは、上記の図のテンプレートを作成します。

Imports GrapeCity.Win.CalendarGrid

Dim template As New CalendarTemplate()
' テンプレートの行数、列数を設定します。
template.RowHeaderColumnCount = 2
template.ColumnCount = 3
template.ColumnHeaderRowCount = 2
template.RowCount = 3

GcCalendarGrid1.Template = template
using GrapeCity.Win.CalendarGrid;

CalendarTemplate template = new CalendarTemplate();
// テンプレートの行数、列数を設定します。
template.RowHeaderColumnCount = 2;
template.ColumnCount = 3;
template.ColumnHeaderRowCount = 2;
template.RowCount = 3;

gcCalendarGrid1.Template = template;
参照

 

 


© 2014 GrapeCity inc. All rights reserved.