This documentation is archived and is not being maintained.

DataGridColumn.Owner Property

Gets the DataGrid control that the column is a member of.

[Visual Basic]
Protected ReadOnly Property Owner As DataGrid
[C#]
protected DataGrid Owner {get;}
[C++]
protected: __property DataGrid* get_Owner();
[JScript]
protected function get Owner() : DataGrid;

Property Value

The DataGrid control that the column is a member of.

Remarks

Use the Owner property to programmatically determine the DataGrid control that the column is a member of.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataGridColumn Class | DataGridColumn Members | System.Web.UI.WebControls Namespace | DataGrid

Show: