DataGridViewRowCollection.GetRowState(Int32) Metoda

Definice

Získá stav řádku se zadaným indexem.

public:
 virtual System::Windows::Forms::DataGridViewElementStates GetRowState(int rowIndex);
public virtual System.Windows.Forms.DataGridViewElementStates GetRowState (int rowIndex);
abstract member GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
override this.GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
Public Overridable Function GetRowState (rowIndex As Integer) As DataGridViewElementStates

Parametry

rowIndex
Int32

Index řádku.

Návraty

DataGridViewElementStates

Bitová kombinace DataGridViewElementStates hodnot označujících stav zadaného řádku.

Výjimky

rowIndex je menší než nula a větší než počet řádků v kolekci minus jeden.

Platí pro

Viz také