DataGridViewBand.InheritedStyle Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.