DataGridViewCell.InheritedStyle プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在セルに適用されているスタイルを取得します。
public:
property System::Windows::Forms::DataGridViewCellStyle ^ InheritedStyle { System::Windows::Forms::DataGridViewCellStyle ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.InheritedStyle : System.Windows.Forms.DataGridViewCellStyle
Public ReadOnly Property InheritedStyle As DataGridViewCellStyle
プロパティ値
現在セルに適用されている DataGridViewCellStyle 。
- 属性
例外
注釈
DataGridView コントロールは、DataGridViewCellStyle型の他のプロパティからスタイルを継承する、セル InheritedStyle プロパティによって示されるスタイルを使用してセルを表示します。 Style プロパティで指定されたスタイルは、他のすべてのセル スタイル プロパティで指定されたスタイルをオーバーライドしますが、セルの外観に影響するすべてのスタイルを必ずしも示すわけではありません。
詳細については、「 Windows フォーム DataGridView コントロールのセル スタイル」を参照してください。