FlexGrid for WinForms
Format Property (CellStyle)



Gets or sets the format string used to display values.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets the format string used to display values.")>
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Design.C1FormatStringUITypeEditor, C1.Win.C1FlexGrid.4.Design")>
Public Property Format As String
'Usage
 
Dim instance As CellStyle
Dim value As String
 
instance.Format = value
 
value = instance.Format
[C1Description("Gets or sets the format string used to display values.")]
[DefaultValue()]
[Browsable(true)]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Design.C1FormatStringUITypeEditor, C1.Win.C1FlexGrid.4.Design")]
public string Format {get; set;}
[C1Description("Gets or sets the format string used to display values.")]
[DefaultValue()]
[Browsable(true)]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="C1.Design.C1FormatStringUITypeEditor, C1.Win.C1FlexGrid.4.Design")]
public:
property String^ Format {
   String^ get();
   void set (    String^ value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback