DataGridViewCell.InheritedState Właściwość

Definicja

Pobiera bieżący stan komórki jako dziedziczony ze stanu wiersza i kolumny.

public:
 property System::Windows::Forms::DataGridViewElementStates InheritedState { System::Windows::Forms::DataGridViewElementStates get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewElementStates InheritedState { get; }
[<System.ComponentModel.Browsable(false)>]
member this.InheritedState : System.Windows.Forms.DataGridViewElementStates
Public ReadOnly Property InheritedState As DataGridViewElementStates

Wartość właściwości

Bitowa kombinacja DataGridViewElementStates wartości reprezentujących bieżący stan komórki.

Atrybuty

Wyjątki

Komórka nie jest zawarta w kontrolce DataGridView , a wartość jej RowIndex właściwości nie jest -1.

Komórka jest zawarta w kontrolce DataGridView , a wartość jej RowIndex właściwości to -1.

Dotyczy

Zobacz też