System.Web.UI.UserControl: Property Members

The properties of System.Web.UI.UserControl are listed below. For a list of all members, see the UserControl Members list.

See Also: Inherited members from System.Web.UI.TemplateControl

Public Properties

[read-only]
ApplicationSystem.Web.HttpApplicationState.

Gets the System.Web.HttpContext.Application object for the current Web request.

[read-only]
AttributesAttributeCollection.

Gets a collection of all attribute name and value pairs declared in the user control tag within the .aspx file.

[read-only]
CacheSystem.Web.Caching.Cache.

Gets the System.Web.Caching.Cache object that is associated with the application that contains the user control.

[read-only]
CachePolicyControlCachePolicy.

Gets a reference to a collection of caching parameters for this user control.

[read-only]
IsPostBackbool.

Gets a value indicating whether the user control is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.

[read-only]
RequestSystem.Web.HttpRequest.

Gets the System.Web.HttpRequest object for the current Web request.

[read-only]
ResponseSystem.Web.HttpResponse.

Gets the System.Web.HttpResponse object for the current Web request.

[read-only]
ServerSystem.Web.HttpServerUtility.

Gets the System.Web.HttpServerUtility object for the current Web request.

[read-only]
SessionSystem.Web.SessionState.HttpSessionState.

Gets the System.Web.SessionState.HttpSessionState object for the current Web request.

[read-only]
TraceSystem.Web.TraceContext.

Gets the System.Web.TraceContext object for the current Web request.