Spread Windows Forms 8.0 Product Documentation
DropDownButton Property (EditBaseCellType)
Example 


Gets or sets whether a drop-down button is displayed in the cell.
Syntax
'Declaration
 
Public Property DropDownButton As Boolean
'Usage
 
Dim instance As EditBaseCellType
Dim value As Boolean
 
instance.DropDownButton = value
 
value = instance.DropDownButton
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.
FarPoint.Win.Spread.CellType.DateTimeCellType datecell = new FarPoint.Win.Spread.CellType.DateTimeCellType();
datecell.DropDownButton = true;
fpSpread1.Sheets[0].Cells[0,0].CellType =datecell;
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

Reference

EditBaseCellType Class
EditBaseCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.