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


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
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

DateTimeDropDown Class
DateTimeDropDown Members

 

 


Copyright © GrapeCity, inc. All rights reserved.