Langage

DataGridViewBand.InheritedStyle Propriété

Définition

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.

S’applique à

Voir aussi