Spread for ASP.NET 10 Product Documentation
ShowPopupButton Property (CurrencyCellType)
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 CurrencyCellType
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.CurrencyCellType c = new FarPoint.Web.Spread.CurrencyCellType();
System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
nfi.NumberDecimalDigits = 3;
nfi.NumberDecimalSeparator = ",";
nfi.CurrencySymbol = "$";
c.NumberFormat = nfi;
c.ShowPopupButton = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
FpSpread1.ActiveSheetView.Cells[0, 0].Value = 234.56;
Dim c As New FarPoint.Web.Spread.CurrencyCellType
Dim nfi As New System.Globalization.NumberFormatInfo
nfi.NumberDecimalDigits = 3
nfi.NumberDecimalSeparator = ","
nfi.CurrencySymbol = "$"
c.NumberFormat = nfi
c.ShowPopupButton = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c
FpSpread1.ActiveSheetView.Cells(0, 0).Value = 234.56
FpSpread1.ActiveSheetView.Cells(0, 0).Value = DateTime.Now
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

CurrencyCellType Class
CurrencyCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.