Share via


DataGridViewRowHeaderCell.GetInheritedStyle Yöntem

Tanım

Hücreye uygulanan stili alır.

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

Parametreler

inheritedCellStyle
DataGridViewCellStyle

DataGridViewCellStyle Devralınan hücre stiliyle doldurulacak A.

rowIndex
Int32

Hücrenin üst satırının dizini.

includeColors
Boolean

true döndürülen hücre stiline devralınan renkleri eklemek için; aksi takdirde , false.

Döndürülenler

Hücrenin DataGridViewCellStyle üst satırından, sütunundan ve DataGridViewöğesinden devralınan hücrenin stil ayarlarını içeren bir.

Şunlara uygulanır

Ayrıca bkz.