FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : Formatter Property |
'Declaration Public Property Formatter As IFormatter
'Usage Dim instance As Column Dim value As IFormatter instance.Formatter = value value = instance.Formatter
public IFormatter Formatter {get; set;}
FarPoint.Web.Spread.Column mycol;
FarPoint.Web.Spread.Renderer.IFormatter formatter;
mycol=FpSpread1.ActiveSheetView.Columns[0];
formatter=new FarPoint.Web.Spread.Renderer.CurrencyFormatter();
mycol.Formatter=formatter;
TextBox1.Text=Convert.ToString(mycol.Formatter);
Dim mycol As FarPoint.Web.Spread.Column Dim formatter As FarPoint.Web.Spread.Renderer.IFormatter mycol=FpSpread1.ActiveSheetView.Columns(0) formatter=New FarPoint.Web.Spread.Renderer.CurrencyFormatter() mycol.Formatter=formatter TextBox1.Text=Convert.ToString(mycol.Formatter)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional