DataGridView::DataGridViewTopRowAccessibleObject::Owner Property
.NET Framework (current version)
Gets the DataGridView that contains the row of column headers.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property DataGridView^ Owner { DataGridView^ get(); void set(DataGridView^ value); }
Property Value
Type: System.Windows.Forms::DataGridView^The DataGridView that contains the row of column headers.
| Exception | Condition |
|---|---|
| InvalidOperationException | The Owner property has already been set. |
.NET Framework
Available since 2.0
Available since 2.0
Show: