Bewerken

Share via


DataGridView.DataGridViewTopRowAccessibleObject.Owner Property

Definition

Gets the DataGridView that contains the row of column headers.

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

Property Value

The DataGridView that contains the row of column headers.

Exceptions

The Owner property has already been set.

Applies to

See also