Gets or sets whether a drop-down button is displayed in the cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property DropDownButton As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As EditBaseCellType
Dim value As Boolean
instance.DropDownButton = value
value = instance.DropDownButton |
C# | |
---|
public bool DropDownButton {get; set;} |
Property Value
Boolean:
true if drop-down button is displayed;
false otherwise
Example
This example creates a drop-down button in a date-time cell.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.DateTimeCellType datecell = new FarPoint.Win.Spread.CellType.DateTimeCellType();
datecell.DropDownButton = true;
fpSpread1.Sheets[0].Cells[0,0].CellType =datecell;
|
Visual Basic | Copy Code |
---|
Dim datecell As New FarPoint.Win.Spread.CellType.DateTimeCellType()
datecell.DropDownButton = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also