This documentation is archived and is not being maintained.
Control Properties
.NET Framework 1.1
The properties of the Control class are listed here. For a complete list of Control class members, see the Control Members topic.
Public Properties
ClientID | Gets the server control identifier generated by ASP.NET. |
Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. |
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. |
ID | Gets or sets the programmatic identifier assigned to the server control. |
NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value. |
Page | Gets a reference to the Page instance that contains the server control. |
Parent | Gets a reference to the server control's parent control in the page control hierarchy. |
Site | Gets information about the Web site to which the server control belongs. |
TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control. |
UniqueID | Gets the unique, hierarchically-qualified identifier for the server control. |
Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page. |
Protected Properties
ChildControlsCreated | Gets a value that indicates whether the server control's child controls have been created. |
Context | Gets the HttpContext object associated with the server control for the current Web request. |
Events | Gets a list of event handler delegates for the control. This property is read-only. |
HasChildViewState | Gets a value indicating whether the current server control's child controls have any saved view-state settings. |
IsTrackingViewState | Gets a value that indicates whether the server control is saving changes to its view state. |
ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. |
ViewStateIgnoresCase | Gets a value that indicates whether the StateBag object is case-insensitive. |
See Also
Show:
