Spread Windows Forms 11.0 Product Documentation
DropDownType Property (DateTimeDropDown)
Example 


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

Property Value

One of the DateDropDownType value, indicates the type of the drop down.
Example
This example sets the drop-down type for the date time cell.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDown.DropDownType = GrapeCity.Win.Spread.InputMan.CellType.DateDropDownType.Picker;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDown.DropDownType = GrapeCity.Win.Spread.InputMan.CellType.DateDropDownType.Picker
fpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell
See Also

Reference

DateTimeDropDown Class
DateTimeDropDown Members