'Declaration
Public Property Formatter As IFormatter
'Usage
Dim instance As Cell Dim value As IFormatter instance.Formatter = value value = instance.Formatter
public IFormatter Formatter {get; set;}
'Declaration
Public Property Formatter As IFormatter
'Usage
Dim instance As Cell Dim value As IFormatter instance.Formatter = value value = instance.Formatter
public IFormatter Formatter {get; set;}
The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the formatter to use.
FarPoint.Web.Spread.Cell mycell;
FarPoint.Web.Spread.Renderer.IFormatter formatter;
mycell=FpSpread1.Cells[0,0];
formatter=new FarPoint.Web.Spread.Renderer.CurrencyFormatter();
mycell.Formatter=formatter;
TextBox1.Text=Convert.ToString(mycell.Formatter);
Dim mycell As FarPoint.Web.Spread.Cell Dim formatter As FarPoint.Web.Spread.Renderer.IFormatter mycell=FpSpread1.Cells(0,0) formatter=NewFarPoint.Web.Spread.Renderer.CurrencyFormatter() mycell.Formatter=formatter TextBox1.Text=Convert.ToString(mycell.Formatter)