Spread for ASP.NET 9.0 Product Documentation
CurrencyCellType Constructor()
Example 


Creates a new currency cell.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New CurrencyCellType()
public CurrencyCellType()
Example
This example creates a spreadsheet with 7 columns and 50 rows. It then creates a CurrencyCell object. A loop assigns the cells in the first column to be currency cells and places values in them.
FarPoint.Web.Spread.CurrencyCellType c = new FarPoint.Web.Spread.CurrencyCellType;
c.CssClass = "CssStyle1";
c.ErrorMessage = "You must use numbers!!";
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
Dim c As New FarPoint.Web.Spread.CurrencyCellType
c.CssClass = "CssStyle1"
c.ErrorMessage = "You must use numbers!!"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c
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
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.