DataGridViewBand.InheritedStyle Vlastnost

Definice

Získá styl buňky v účinku pro aktuální pásmo s ohledem na dědičnost stylu.

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

Hodnota vlastnosti

A DataGridViewCellStyle přidružené k DataGridViewBand. Výchozí formát je null.

Atributy

Poznámky

Implementace této vlastnosti ve DataGridViewBand třídě vždy vrátí null , protože tato základní třída nemůže obsahovat elementy.

Další informace o dědičnosti stylů najdete v tématu Styly buněk v ovládacím prvku model Windows Forms DataGridView.

Platí pro

Viz také