Rediger

Del via


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)

Initializes a new instance of the ScriptBehaviorDescriptor class.

Properties

ClientID

Gets the identifier for the current ScriptBehaviorDescriptor instance.

ElementID

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

ID

Gets or sets the ID of the current ScriptComponentDescriptor instance.

(Inherited from ScriptComponentDescriptor)
Name

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

Type

Gets or sets the type of the target client component.

(Inherited from ScriptComponentDescriptor)

Methods

AddComponentProperty(String, String)

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

(Inherited from ScriptComponentDescriptor)
AddElementProperty(String, String)

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

(Inherited from ScriptComponentDescriptor)
AddEvent(String, String)

Adds the specified event and handler.

(Inherited from ScriptComponentDescriptor)
AddProperty(String, Object)

Adds the specified property and value.

(Inherited from ScriptComponentDescriptor)
AddScriptProperty(String, String)

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

(Inherited from ScriptComponentDescriptor)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetScript()

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to