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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

DropDownCalendar Class
DropDownCalendar Members

 

 


Copyright © GrapeCity, inc. All rights reserved.