DataGridViewBand.InheritedStyle Egenskap

Definition

Hämtar cellformatet i kraft för det aktuella bandet, med hänsyn till arv av formatmallar.

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

Egenskapsvärde

En DataGridViewCellStyle associerad med DataGridViewBand. Standardvärdet är null.

Attribut

Kommentarer

Implementeringen av den DataGridViewBand här egenskapen i klassen returnerar null alltid eftersom den här basklassen inte kan innehålla element.

Mer information om arv av format finns i Cellformat i Windows Forms DataGridView Control.

Gäller för

Se även