ASP.NET Control Standard Properties
Property
The following table describes the properties inherited from the Control class:
Property | Description | .NET |
---|---|---|
AppRelativeTemplateSourceDirectory | Get or set the application relative virtual directory of the Page or UserControl object that contains the specified control. | 1.0 |
BindingContainer | Get the control that binds the data of the specified control. | 1.0 |
ClientID | Get the server control identifier generated by ASP.NET. | 1.0 |
Controls | Get the ControlCollection object that represents the child controls of the specified server control in the UI hierarchy. | 1.0 |
EnableTheming | Get or set a value that indicates whether the theme is applied to the control. | 1.0 |
EnableViewState | Get or set a value that indicates whether the server control maintains its own view state and the view state of any child controls it contains for the client that made the request. | 1.0 |
ID | The id assigned to the control. | 2.0 |
NamingContainer | Get a reference to the naming container of the server control, which creates a unique namespace to distinguish server controls with the same id attribute value. | 1.0 |
Page | Reference to the page that contains the control. | 1.0 |
Parent | Reference to the parent control of the control. | 2.0 |
Site | Information about the container of the current control. (Get value only) | 2.0 |
TemplateControl | Get or set a reference to the template that contains the control. | 1.0 |
TemplateSourceDirectory | Get the virtual directory that contains the Page or UserControl that contains the current server control. | 1.0 |
UniqueID | Get the unique, hierarchically qualified identifier of the server control. | 1.0 |
Visible | Get or set a value that indicates whether the server control is displayed as UI on the page. | 1.0 |