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


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

PercentCellType Class
PercentCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.