DataGridViewBand.InheritedStyle Eigenschaft

Definition

Ruft die Zellenformatvorlage für das aktuelle Band unter Berücksichtigung der Formatvorlagenvererbung ab.

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

Eigenschaftswert

A DataGridViewCellStyle associated with the DataGridViewBand. Der Standardwert lautet null.

Attribute

Hinweise

Die Implementierung dieser Eigenschaft in der DataGridViewBand Klasse gibt immer zurück null , da diese Basisklasse keine Elemente enthalten kann.

Weitere Informationen zur Vererbung von Stilen finden Sie unter Zellenstile im DataGridView-Steuerelement in Windows Forms.

Gilt für:

Weitere Informationen