MESCIUS SPREAD for Windows Forms 15.0J
CalendarType 列挙体
使用例 使用例 

カレンダーの形式を定義します。
構文
'宣言
 
Public Enum CalendarType 
   Inherits System.Enum
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 名前空間

 

 


© MESCIUS inc. All rights reserved.