System.Windows.Forms.DataGridViewCellStyle.IsNullValueDefault Property

Gets a value indicating whether the DataGridViewCellStyle.NullValue property has been set.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to determine whether the DataGridViewCellStyle.NullValue property has been explicitly set without having to store its default value for comparison. This is useful because the DataGridViewCellStyle.NullValue 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