ASP.NET ControlsStandard Properties
Web Server Controls
Properties
The following table describes the properties inherited from the Control class:
| Properties | Description | .NET |
|---|---|---|
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains the control. | 1.0 |
| BindingContainer | Gets the control that contains data binding for this control. | 1.0 |
| ClientID | Gets the server control identifier generated by ASP.NET. | 1.0 |
| Controls | Gets a ControlCollection object that represents the child controls of the specified server control in the UI hierarchy. | 1.0 |
| EnableTheming | Gets or sets a value that indicates whether themes are applied to this control. | 1.0 |
| EnableViewState | Gets or sets a value that indicates whether the server control persists its view state and the view state of any child controls it contains to the requesting client. | 1,0 |
| ID | The id assigned to the control. | 2.0 |
| NamingContainer | Gets a reference to the naming container of the server control, which creates a unique namespace to distinguish server controls with the same id property value. | 1.0 |
| Page | A reference to the page that contains the control. | 1.0 |
| Parent | A reference to the parent control of the control. | 2.0 |
| Site | Gets information about the container of the current control. | 2.0 |
| TemplateControl | Gets or sets a reference to the template that contains the current control. | 1.0 |
| TemplateSourceDirectory | Gets the virtual directory of the page or control that contains the current control. | 1.0 |
| UniqueID | Gets the unique, hierarchically qualified auto-generated identifier of the server control. | 1.0 |
| Visible | Gets or sets a value that indicates whether the server control is rendered as UI on the page. | 1.0 |
Web Server Controls Other Extensions