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

A, DataGridViewCellStyle která se naplní zděděným stylem buňky.

rowIndex
Int32

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

includeColors
Boolean

truezahrnout zděděné barvy do vráceného 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é