Syncfusion.Grid.Windows


Format Property (GridStyleInfo)

Gets or sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm)
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<DescriptionAttribute("Contains format information of a cell.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Syncfusion.Windows.Forms.Grid.GridCellFormatEditor, Syncfusion.Grid.Windows, Version=17.3460.0.14, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("Cell Value")>
<NotifyParentPropertyAttribute(True)>
Public Property Format As String
'Usage
 
Dim instance As GridStyleInfo
Dim value As String
 
instance.Format = value
 
value = instance.Format
[Browsable(true)]
[Description("Contains format information of a cell.")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Syncfusion.Windows.Forms.Grid.GridCellFormatEditor, Syncfusion.Grid.Windows, Version=17.3460.0.14, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89")]
[RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Cell Value")]
[NotifyParentProperty(true)]
public string Format {get; set;}
Remarks

The default value for the Format property is String.Empty.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also