DataGridViewRowHeaderCell.GetInheritedStyle メソッド

定義

セルに適用されるスタイルを取得します。

public:
 override System::Windows::Forms::DataGridViewCellStyle ^ GetInheritedStyle(System::Windows::Forms::DataGridViewCellStyle ^ inheritedCellStyle, int rowIndex, bool includeColors);
public override System.Windows.Forms.DataGridViewCellStyle GetInheritedStyle (System.Windows.Forms.DataGridViewCellStyle inheritedCellStyle, int rowIndex, bool includeColors);
public override System.Windows.Forms.DataGridViewCellStyle GetInheritedStyle (System.Windows.Forms.DataGridViewCellStyle? inheritedCellStyle, int rowIndex, bool includeColors);
override this.GetInheritedStyle : System.Windows.Forms.DataGridViewCellStyle * int * bool -> System.Windows.Forms.DataGridViewCellStyle
Public Overrides Function GetInheritedStyle (inheritedCellStyle As DataGridViewCellStyle, rowIndex As Integer, includeColors As Boolean) As DataGridViewCellStyle

パラメーター

inheritedCellStyle
DataGridViewCellStyle

継承されたセル スタイルに設定される DataGridViewCellStyle

rowIndex
Int32

セルの親行のインデックス。

includeColors
Boolean

返されるセル スタイルに継承された色を含める場合は、true。それ以外の場合は、false

戻り値

セルの親の行、列、および DataGridView から継承されたセルのスタイル設定を含む DataGridViewCellStyle

適用対象

こちらもご覧ください