DataGridViewCell.InheritedState Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’état actuel de la cellule comme hérité de l’état de sa ligne et de sa colonne.
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
Valeur de propriété
Combinaison de valeurs au niveau du DataGridViewElementStates bit représentant l’état actuel de la cellule.
- Attributs
Exceptions
La cellule n’est pas contenue dans un DataGridView contrôle et la valeur de sa RowIndex propriété n’est pas -1.
La cellule est contenue dans un DataGridView contrôle et la valeur de sa RowIndex propriété est -1.