DataGridView.DataGridViewTopRowAccessibleObject.Owner 属性

定义

获取包含列标头行的 DataGridView

public:
 property System::Windows::Forms::DataGridView ^ Owner { System::Windows::Forms::DataGridView ^ get(); void set(System::Windows::Forms::DataGridView ^ value); };
public System.Windows.Forms.DataGridView Owner { get; set; }
public System.Windows.Forms.DataGridView? Owner { get; set; }
member this.Owner : System.Windows.Forms.DataGridView with get, set
Public Property Owner As DataGridView

属性值

DataGridView

包含列标头行的 DataGridView

例外

已设置 Owner 属性。

适用于

另请参阅