DataGridViewBand.InheritedStyle Proprietà

Definizione

Ottiene lo stile attivo della cella per la banda corrente, prendendo in considerazione l'ereditarietà dello stile.

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

Valore della proprietà

Oggetto DataGridViewCellStyle associato all'oggetto DataGridViewBand. Il valore predefinito è null.

Attributi

Commenti

L'implementazione di questa proprietà nella DataGridViewBand classe restituisce null sempre perché questa classe di base non può contenere elementi.

Per altre informazioni sull'ereditarietà dello stile, vedere Stili di cella nel controllo DataGridView Windows Forms.

Si applica a

Vedi anche