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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DoubleCellType 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 DoubleCellType
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.DoubleCellType dblc = new FarPoint.Web.Spread.DoubleCellType();
dblc.DecimalDigits = 3;
dblc.FixedPoint = true;
dblc.ShowPopupButton = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dblc;
FpSpread1.ActiveSheetView.Cells[0, 0].Value = 435.98745;
Dim dblc As New FarPoint.Web.Spread.DoubleCellType
dblc.DecimalDigits = 3
dblc.FixedPoint = True
dblc.ShowPopupButton = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = dblc
FpSpread1.ActiveSheetView.Cells(0, 0).Value = 435.98745
See Also

Reference

DoubleCellType Class
DoubleCellType Members