Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Control Properties

The properties of the Control class are listed here. For a complete list of Control class members, see the Control Members topic.

Public Properties

public propertyClientID Gets the server control identifier generated by ASP.NET.
public propertyControls Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
public propertyEnableViewState 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.
public propertyID Gets or sets the programmatic identifier assigned to the server control.
public propertyNamingContainer 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.
public propertyPage Gets a reference to the Page instance that contains the server control.
public propertyParent Gets a reference to the server control's parent control in the page control hierarchy.
public propertySite Gets information about the Web site to which the server control belongs.
public propertyTemplateSourceDirectory Gets the virtual directory of the Page or UserControl that contains the current server control.
public propertyUniqueID Gets the unique, hierarchically-qualified identifier for the server control.
public propertyVisible Gets or sets a value that indicates whether a server control is rendered as UI on the page.

Protected Properties

protected propertyChildControlsCreated Gets a value that indicates whether the server control's child controls have been created.
protected propertyContext Gets the HttpContext object associated with the server control for the current Web request.
protected propertyEvents Gets a list of event handler delegates for the control. This property is read-only.
protected propertyHasChildViewState Gets a value indicating whether the current server control's child controls have any saved view-state settings.
protected propertyIsTrackingViewState Gets a value that indicates whether the server control is saving changes to its view state.
protected propertyViewState 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.
protected propertyViewStateIgnoresCase Gets a value that indicates whether the StateBag object is case-insensitive.

See Also

Control Class | System.Web.UI Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.