DataGridView.CurrentRow 속성

정의

현재 셀이 들어 있는 행을 가져옵니다.

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

속성 값

DataGridViewRow

현재 셀이 포함된 행을 나타내는 DataGridViewRow이거나 현재 셀이 없는 경우 null입니다.

특성

설명

현재 행을 변경하려면 원하는 행의 CurrentCell 셀로 속성을 설정해야 합니다.

적용 대상

추가 정보