Taal

DataGridViewBand.InheritedStyle Eigenschap

Definitie

Hiermee wordt de celstijl van kracht voor de huidige band, rekening houdend met de overname van stijl.

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

Waarde van eigenschap

Een DataGridViewCellStyle gekoppeld aan de DataGridViewBand. De standaardwaarde is null.

Kenmerken

Opmerkingen

De implementatie van deze eigenschap in de DataGridViewBand klasse retourneert null altijd omdat deze basisklasse geen elementen kan bevatten.

Voor meer informatie over stijlovername, zie Celstijlen in het Windows Forms DataGridView-besturingselement.

Van toepassing op

Zie ook