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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also