System.Windows.Forms.DataGridViewCellStyle.Format Property

Gets or sets the format string applied to the textual content of a System.Windows.Forms.DataGridView cell.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.Editor("System.Windows.Forms.Design.FormatStringEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultValue("")]
public string Format { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataGridViewCellStyle.Format property specifies how cell values are formatted as strings. For more information, see Formatting Types.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0