DataGridViewBand.InheritedStyle 屬性

定義

取得對目前的群組列有效的儲存格樣式,並考量帳戶樣式繼承。

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

屬性值

DataGridViewCellStyle 關聯的 DataGridViewBand。 預設為 null

屬性

備註

類別中 DataGridViewBand 這個屬性的實作一律會傳回, null 因為這個基類不能包含專案。

如需樣式繼承的詳細資訊,請參閱DataGridView 控制項中Windows Forms儲存格樣式

適用於

另請參閱