Spread Windows Forms 12.0 Product Documentation
Months Enumeration
Example Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : Months Enumeration
Specifies the month of a year.
Syntax
'Declaration
 
Public Enum Months 
   Inherits System.Enum
'Usage
 
Dim instance As Months
public enum Months : System.Enum 
Members
MemberDescription
AprilIndicates April
AugustIndicates August
DecemberIndicates December
DefaultIndicates the month is not defined
FebruaryIndicates February
JanuaryIndicates January
JulyIndicates July
JuneIndicates June
MarchIndicates March
MayIndicates May
NovemberIndicates November
OctoberIndicates October
SeptemberIndicates September
Example
This example uses the Months 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.Months

See Also

Reference

GrapeCity.Win.Spread.InputMan.CellType Namespace