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 を返します。

スタイルの継承の詳細については、「 Windows フォーム DataGridView コントロールのセル スタイル」を参照してください。

適用対象

こちらもご覧ください