System.Windows.Forms.DataGridViewCellParsingEventArgs.InheritedCellStyle Property

Gets or sets the style applied to the edited cell.

Syntax

public DataGridViewCellStyle InheritedCellStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to determine the formatting in effect for the cell. Setting this property or changing the properties of the object that this property returns has no effect unless the DataGridViewCellParsingEventArgs.ParsingApplied is false when the event handler exits. In this case, the DataGridViewCellStyle.NullValue, DataGridViewCellStyle.DataSourceNullValue, and DataGridViewCellStyle.FormatProvider properties of the cell style are used to parse the cell value.

Requirements

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