Condividi tramite


DataGridView.CurrentRow Proprietà

Definizione

Ottiene la riga contenente la cella corrente.

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)]
public System.Windows.Forms.DataGridViewRow? CurrentRow { get; }
[<System.ComponentModel.Browsable(false)>]
member this.CurrentRow : System.Windows.Forms.DataGridViewRow
Public ReadOnly Property CurrentRow As DataGridViewRow

Valore della proprietà

Oggetto DataGridViewRow che rappresenta la riga contenente la cella corrente o null se non è presente alcuna cella corrente.

Attributi

Commenti

Per modificare la riga corrente, è necessario impostare la CurrentCell proprietà su una cella nella riga desiderata.

Si applica a

Vedi anche