DataGridViewCell.OwningRow DataGridViewCell.OwningRow DataGridViewCell.OwningRow DataGridViewCell.OwningRow Property

定義

取得包含這個儲存格的資料列。Gets the row that contains this cell.

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

屬性值

DataGridViewRow,其中包含儲存格,或是如果儲存格不在資料列之中,則為 nullThe DataGridViewRow that contains the cell, or null if the cell is not in a row.

適用於

另請參閱