PowerTools SPREAD for Windows Forms 10.0J
CalendarType 列挙体


カレンダーの形式を定義します。
構文
'Declaration
 
Public Enum CalendarType 
   Inherits System.Enum
'使用法
 
Dim instance As CalendarType
public enum CalendarType : System.Enum 
メンバ
メンバ説明
MonthDay月と日を含むカレンダーを表示します。
YearMonth年と月を含むカレンダーを表示します。
次のサンプルコードは、CalendarType列挙体を使用します。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.MonthDay;
gcDateTimeCell1.DropDownCalendar.FirstMonthInView = GrapeCity.Win.Spread.InputMan.CellType.Months.October;
gcDateTimeCell1.DropDownCalendar.CalendarDimensions = new Size(3, 4);
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.MonthDay
gcDateTimeCell1.DropDownCalendar.FirstMonthInView = GrapeCity.Win.Spread.InputMan.CellType.Months.October
gcDateTimeCell1.DropDownCalendar.CalendarDimensions = New Size(3, 4)
FpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
継承階層

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.CalendarType

参照

GrapeCity.Win.Spread.InputMan.CellType 名前空間

 

 


© 2004-2017, GrapeCity inc. All rights reserved.