DataGridViewCell.InheritedState DataGridViewCell.InheritedState DataGridViewCell.InheritedState DataGridViewCell.InheritedState Property

Definición

Obtiene el estado actual de la celda tal como lo hereda del estado de su fila y columna.Gets the current state of the cell as inherited from the state of its row and column.

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

Valor de propiedad

Combinación bit a bit de valores DataGridViewElementStates que representa el estado actual de la celda.A bitwise combination of DataGridViewElementStates values representing the current state of the cell.

Excepciones

La celda no está incluida en un control DataGridView y el valor de su propiedad RowIndex no es -1.The cell is not contained within a DataGridView control and the value of its RowIndex property is not -1.

La celda no está incluida en un control DataGridView y el valor de su propiedad RowIndex es -1.The cell is contained within a DataGridView control and the value of its RowIndex property is -1.

Se aplica a

Consulte también: