DataGridViewRowHeaderCell.GetInheritedStyle Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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.