共用方式為


DataGridViewCell.OwningRow 屬性

定義

取得包含這個儲存格的資料列。

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

屬性值

DataGridViewRow,其中包含儲存格,或是如果儲存格不在資料列之中,則為 null

屬性

適用於

另請參閱