DataGridViewBand.InheritedStyle Proprietà

Definizione

Ottiene lo stile della cella in vigore per la banda corrente, tenendo conto dell'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 di Windows Forms.

Si applica a

Vedi anche