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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PercentCellType Class : ShowPopupButton Property
Gets or sets whether the editor supports showing a pop-up control.
Syntax
'Declaration
 
Public Overrides Property ShowPopupButton As Boolean
'Usage
 
Dim instance As PercentCellType
Dim value As Boolean
 
instance.ShowPopupButton = value
 
value = instance.ShowPopupButton
public override bool ShowPopupButton {get; set;}
Example
This example shows a pop-up button when the cell is in edit mode.
FarPoint.Web.Spread.PercentCellType pctcell = new FarPoint.Web.Spread.PercentCellType();
pctcell.ShowPopupButton = true;
FpSpread1.ActiveSheetView.Cells[0, 1].CellType = pctcell;
FpSpread1.ActiveSheetView.Cells[0, 1].Value = 0.01;
Dim pctcell As New FarPoint.Web.Spread.PercentCellType()
pctcell.ShowPopupButton = True
FpSpread1.ActiveSheetView.Cells(0, 1).CellType = pctcell
FpSpread1.ActiveSheetView.Cells(0, 1).Value = 0.01
See Also

Reference

PercentCellType Class
PercentCellType Members