System.Windows.Forms.DataGridViewColumn.InheritedStyle Property

Gets the cell style currently applied to the column.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

This property is useful to determine which cell styles are applied to all cells in a column regardless of any row styles that are also applied to the cells. The column DataGridViewColumn.InheritedStyle property inherits its values from the DataGridViewColumn.DefaultCellStyle and the DataGridView.DefaultCellStyle property.

For more information about cell style inheritance, 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