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 コントロールでのセルのスタイル」を参照してください。

適用対象

こちらもご覧ください