System.Windows.Forms.DataGridViewCellStyle.IsFormatProviderDefault Property

Gets a value that indicates whether the DataGridViewCellStyle.FormatProvider property has been set.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(false)]
public bool IsFormatProviderDefault { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to determine whether the DataGridViewCellStyle.FormatProvider property has been explicitly set without having to store its default value for comparison. This is useful because the DataGridViewCellStyle.FormatProvider property has a non-empty default value, unlike most other System.Windows.Forms.DataGridViewCellStyle properties, which have default values such as null, System.Drawing.Color.Empty, or DataGridViewContentAlignment.NotSet.

Requirements

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