Spread Windows Forms 11.0 Product Documentation
CalendarType Enumeration
Example Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : CalendarType Enumeration
Defines the type of the calendar.
Syntax
'Declaration
 
Public Enum CalendarType 
   Inherits System.Enum
'Usage
 
Dim instance As CalendarType
public enum CalendarType : System.Enum 
Members
MemberDescription
MonthDayShows the calendar by Month-Day type.
YearMonthShows the calendar by Year-Month type.
Example
This example uses the CalendarType enumeration.
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
Inheritance Hierarchy

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

See Also

Reference

GrapeCity.Win.Spread.InputMan.CellType Namespace