DataGridViewBand.InheritedStyle 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 le style de cellule en vigueur pour la bande active, en tenant compte de l’héritage de style.
public:
virtual property System::Windows::Forms::DataGridViewCellStyle ^ InheritedStyle { System::Windows::Forms::DataGridViewCellStyle ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get; }
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.DataGridViewCellStyle? InheritedStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.InheritedStyle : System.Windows.Forms.DataGridViewCellStyle
Public Overridable ReadOnly Property InheritedStyle As DataGridViewCellStyle
Valeur de propriété
Associé DataGridViewCellStyle au DataGridViewBand. La valeur par défaut est null.
- Attributs
Remarques
L’implémentation de cette propriété dans la DataGridViewBand classe retourne null toujours, car cette classe de base ne peut pas contenir d’éléments.
Pour plus d’informations sur l’héritage de style, consultez Styles de cellules dans le contrôle DataGridView Windows Forms.