DataGridViewRowHeaderCell.GetInheritedStyle Metoda

Definice

Získá styl použitý na buňku.

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

Parametry

inheritedCellStyle
DataGridViewCellStyle

Objekt , DataGridViewCellStyle který se má naplnit zděděným stylem buňky.

rowIndex
Int32

Index nadřazeného řádku buňky

includeColors
Boolean

truezahrnout zděděné barvy ve vráceném stylu buňky; v opačném případě . false

Návraty

A DataGridViewCellStyle , který zahrnuje nastavení stylu buňky zděděné z nadřazeného řádku buňky, sloupce a DataGridView.

Platí pro

Viz také