Sys.UI.Behavior Class
var a = new MyBehavior();
Name | Description |
|---|---|
Removes the current Sys.UI.Behavior object from the application. | |
Gets a Behavior instance with the specified name property from the specified HTML Document Object Model (DOM) element. | |
Gets an array of behaviors that are of the specified type from the specified DOM element. | |
Gets a collection that contains the behaviors associated with the specified DOM element. | |
Initializes the current Behavior object. | |
Gets the DOM element that the current Sys.UI.Behavior object is associated with. | |
Gets or sets the ID of the Behavior object. | |
Gets or sets the name of the Behavior object. |
A behavior is a component that extends the functionality of the DOM element that it is associated with.
The Behavior class should not be instantiated directly; it is a base class for other behaviors to derive from. For information about how to create custom behaviors that derive from this class, see Creating an Extender Control to Associate a Client Behavior with a Web Server Control.