Partager via


Sys.UI.Control Class

Provides the base class for all ASP.NET AJAX client controls.

Namespace: Sys.UI

Inherits: Sys.Component

var a = new MyControl(element);

Constructors

Name

Description

Sys.UI.Control Constructor

When called from a derived class, initializes a new instance of that class.

Members

Name

Description

Sys.UI.Control addCssClass Method

Adds a CSS class to the HTML Document Object Model (DOM) element that the current Control object is associated with.

Sys.UI.Control dispose Method

Removes the current Control object from the application by releasing all associated resources and freeing the memory used by the control.

Sys.UI.Control initialize Method

Initializes the current Control object.

Sys.UI.Control onBubbleEvent Method

Called when an event is raised by the raiseBubbleEvent method.

Sys.UI.Control raiseBubbleEvent Method

Calls the onBubbleEvent method of the parent control.

Sys.UI.Control removeCssClass Method

Removes a CSS class from the DOM element that the current Control object is associated with.

Sys.UI.Control toggleCssClass Method

Toggles a CSS class on the DOM element that the current Control object is associated with.

Sys.UI.Control element Property

Gets the DOM element that the current Control object is associated with.

Sys.UI.Control id Property

Gets or sets the identifier for the current Control object.

Sys.UI.Control parent Property

Gets or sets the parent control for the current Control object.

Sys.UI.Control role Property

Gets a string representing the role of the control.

Sys.UI.Control visibilityMode Property

Gets or sets the Sys.UI.VisibilityMode value for the current Control object.

Sys.UI.Control visible Property

Gets or sets the visibility of the current Control object.

Remarks

Sys.UI.Control is a base class and should not be instantiated directly. For information about how to create a control that inherits from Sys.UI.Control, see Creating Custom AJAX Client Controls.

Note

Instances of any class derived from Sys.UI.Control cannot be attached to a Label element in the Opera browser.

See Also

Reference

new Operator

Other Resources

Language Reference