Easy Tutorial
❮ Prop Webcontrol Standard Prop Webcontrol Table Captionalign ❯

ASP.NET Control Standard Properties



Properties

The following table describes the properties inherited from the Control class:

Property Description .NET
AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. 1.0
BindingContainer Gets the control that contains this control's data binding. 1.0
ClientID Gets the server control identifier generated by ASP.NET. 1.0
Controls Gets the ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. 1.0
EnableTheming Gets or sets a value indicating whether themes apply to this control. 1.0
EnableViewState Gets or sets a value indicating 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 this control. 2.0
NamingContainer Gets a reference to the server control's naming container, which creates a unique namespace for differentiating server controls with the same id property value. 1.0
Page A reference to the page that contains this control. 1.0
Parent A reference to the parent control of this control. 2.0
Site Gets information about the container that hosts the current control. 2.0
TemplateControl Gets or sets a reference to the template that contains this 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 identifier for the server control. 1.0
Visible Gets or sets a value that indicates whether a server control is rendered as UI on the page. 1.0

❮ Prop Webcontrol Standard Prop Webcontrol Table Captionalign ❯