Method | Description |
---|
Sys.UI.Control(associatedElement) | Constructor, providing the associated HTML element |
get_accesskey() | Returns the element's access key |
set_accesskey(value) | Sets the element's access key |
get_associatedElement() | Returns the element's associated element |
get_behaviors() | Returns a list of all behaviors attached to the element |
get_cssClass() | Returns the element's CSS class |
set_cssClass(value) | Sets the element's CSS class |
get_dataContext() | Returns the element's data context |
get_enabled() | Whether the element is enabled or not |
set_enabled(value) | Enables or disables the element |
get_parent() | Returns the element's parent element |
set_parent(value) | Sets the element's parent element |
get_style() | Returns the element's style property |
get_tabIndex() | Returns the element's tabindex property |
set_tabIndex(value) | Sets the element's tabindex property |
get_visibilityMode() | Returns the element's display mode |
set_visibilityMode(value) | Sets the element's display mode |
get_visible() | Whether the element is visible or not |
set_visible(value) | Makes the element visible or invisible |
addCssClass(className) | Adds a CSS class to the element |
containsCssClass(className) | Whether the element's style information contains the given CSS class |
dispose() | Removes the element from memory |
findObject(id) | Finds an object by its ID |
focus() | Puts the focus to an element |
removeCssClass(className) | Removes the given CSS class from the element's style information |
scrollIntoView() | Scrolls the browser to the element's position |
toggleCssClass(className) | Switches a CSS class on or off |
Sys.UI.Control.parseFrom Markup(type, node, markupContext) | Creates markup into an HTML control |
Sys.UI.Control.setLocation(element, position) | Positions an element |
Sys.UI.Control.overlaps(r1, r2) | Whether two elements overlap or not |
Sys.UI.Control.getLocation(element) | Returns the location of an element (as an object with properties x and y) |
Sys.UI.Control.getBounds(element) | Returns position and dimension of an element (as an object with properties x, y, width, and height) |
Sys.UI.Control.removeCssClass(element, className) | Removes a CSS class from an element's style information |
Sys.UI.Control.addCssClass(element, className) | Adds a CSS class to an element's style information |
Sys.UI.Control.containsCssClass(element, className) | Whether an element contains a CSS class or not |