DataGridViewBand.InheritedStyle Właściwość

Definicja

Pobiera styl komórki w efekcie dla bieżącego pasma, biorąc pod uwagę dziedziczenie 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

Wartość właściwości

Element DataGridViewCellStyle skojarzony z elementem DataGridViewBand. Wartość domyślna to null.

Atrybuty

Uwagi

Implementacja tej właściwości w DataGridViewBand klasie zawsze zwraca, null ponieważ ta klasa bazowa nie może zawierać elementów.

Aby uzyskać więcej informacji na temat dziedziczenia stylów, zobacz Style komórek w kontrolce DataGridView Windows Forms.

Dotyczy

Zobacz też