Spread Windows Forms 11.0 Product Documentation
CalendarType Property (DropDownCalendar)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : CalendarType Property
Gets or sets the type of the drop-down calendar.
Syntax
'Declaration
 
Public Property CalendarType As CalendarType
'Usage
 
Dim instance As DropDownCalendar
Dim value As CalendarType
 
instance.CalendarType = value
 
value = instance.CalendarType
public CalendarType CalendarType {get; set;}

Property Value

A CalendarType value that indicates the type of the current calendar.
Remarks
This property can change the display type of this DropDownCalendar.
Example
This example sets the CalendarType property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.YearMonth;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDownCalendar.CalendarType = GrapeCity.Win.Spread.InputMan.CellType.CalendarType.YearMonth
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members