ScriptBehaviorDescriptor ScriptBehaviorDescriptor ScriptBehaviorDescriptor ScriptBehaviorDescriptor Class

Definition

Extends the ScriptComponentDescriptor class to provide a wrapper for defining behaviors that are converted into client script.

public ref class ScriptBehaviorDescriptor : System::Web::UI::ScriptComponentDescriptor
public class ScriptBehaviorDescriptor : System.Web.UI.ScriptComponentDescriptor
type ScriptBehaviorDescriptor = class
    inherit ScriptComponentDescriptor
Public Class ScriptBehaviorDescriptor
Inherits ScriptComponentDescriptor
Inheritance

Constructors

ScriptBehaviorDescriptor(String, String) ScriptBehaviorDescriptor(String, String) ScriptBehaviorDescriptor(String, String) ScriptBehaviorDescriptor(String, String)

Initializes a new instance of the ScriptBehaviorDescriptor class.

Properties

ClientID ClientID ClientID ClientID

Gets the identifier for the current ScriptBehaviorDescriptor instance.

ElementID ElementID ElementID ElementID

Gets the id attribute of the associated element, as set in the constructor.

ID ID ID ID

Gets or sets the ID of the current ScriptComponentDescriptor instance.

(Inherited from ScriptComponentDescriptor)
Name Name Name Name

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

Type Type Type Type

Gets or sets the type of the target client component.

(Inherited from ScriptComponentDescriptor)

Methods

AddComponentProperty(String, String) AddComponentProperty(String, String) AddComponentProperty(String, String) AddComponentProperty(String, String)

Adds the specified property, and associates that property with the specified element.

(Inherited from ScriptComponentDescriptor)
AddElementProperty(String, String) AddElementProperty(String, String) AddElementProperty(String, String) AddElementProperty(String, String)

Adds the specified property and associates that property with the specified component.

(Inherited from ScriptComponentDescriptor)
AddEvent(String, String) AddEvent(String, String) AddEvent(String, String) AddEvent(String, String)

Adds the specified event and handler.

(Inherited from ScriptComponentDescriptor)
AddProperty(String, Object) AddProperty(String, Object) AddProperty(String, Object) AddProperty(String, Object)

Adds the specified property and value.

(Inherited from ScriptComponentDescriptor)
AddScriptProperty(String, String) AddScriptProperty(String, String) AddScriptProperty(String, String) AddScriptProperty(String, String)

Adds the specified property, and associates the property with the specified script.

(Inherited from ScriptComponentDescriptor)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetScript() GetScript() GetScript() GetScript()

Gets the client script that implements the target control on the page.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to