DataGridView.CurrentRow Vlastnost

Definice

Získá řádek obsahující aktuální buňku.

public:
 property System::Windows::Forms::DataGridViewRow ^ CurrentRow { System::Windows::Forms::DataGridViewRow ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewRow CurrentRow { get; }
[<System.ComponentModel.Browsable(false)>]
member this.CurrentRow : System.Windows.Forms.DataGridViewRow
Public ReadOnly Property CurrentRow As DataGridViewRow

Hodnota vlastnosti

DataGridViewRow

Představuje DataGridViewRow řádek obsahující aktuální buňku nebo null pokud neexistuje žádná aktuální buňka.

Atributy

Poznámky

Pokud chcete změnit aktuální řádek, musíte vlastnost nastavit CurrentCell na buňku v požadovaném řádku.

Platí pro

Viz také