Spread for ASP.NET 11 Product Documentation
ShowPopupButton Property (BaseDropDownCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseDropDownCellType Class : ShowPopupButton Property
Gets or sets whether the editor supports showing a pop-up control.
Syntax
'Declaration
 
Public Overridable Property ShowPopupButton As Boolean
'Usage
 
Dim instance As BaseDropDownCellType
Dim value As Boolean
 
instance.ShowPopupButton = value
 
value = instance.ShowPopupButton
public virtual bool ShowPopupButton {get; set;}
Example
This example sets the ShowPopupButton property.
FarPoint.Web.Spread.DateTimeCellType datecell = new FarPoint.Web.Spread.DateTimeCellType();
datecell.ShowPopupButton = true;
FpSpread1.ActiveSheetView.Columns[1].Width = 175;
FpSpread1.ActiveSheetView.Cells[1,1].CellType = datecell;
Dim datecell As New FarPoint.Web.Spread.DateTimeCellType()
datecell.ShowPopupButton = True
FpSpread1.ActiveSheetView.Columns(1).Width = 175
FpSpread1.ActiveSheetView.Cells(1, 1).CellType = datecell
See Also

Reference

BaseDropDownCellType Class
BaseDropDownCellType Members