System.Windows.Forms.DataGridViewCell.InheritedStyle Property

Gets the style currently applied to the cell.

Syntax

[System.ComponentModel.Browsable(false)]
public DataGridViewCellStyle InheritedStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Windows.Forms.DataGridView control displays its cells using the styles indicated by the cell DataGridViewCell.InheritedStyle property, which inherits styles from other properties of type System.Windows.Forms.DataGridViewCellStyle. The styles specified through the DataGridViewCell.Style property override the styles specified through all other cell-style properties, but do not necessarily indicate all the styles that contribute to the cell's appearance.

For more information, see Cell Styles in the Windows Forms DataGridView Control.

Requirements

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