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

属性

适用于

另请参阅