System.Windows.Forms.DataGridViewCellStyle.IsDataSourceNullValueDefault Property

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

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

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