ScriptBehaviorDescriptor Class
TOC
Collapse the table of content
Expand the table of content

ScriptBehaviorDescriptor Class

.NET Framework (current version)
 

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

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

System.Object
  System.Web.UI.ScriptDescriptor
    System.Web.UI.ScriptComponentDescriptor
      System.Web.UI.ScriptBehaviorDescriptor

public class ScriptBehaviorDescriptor : ScriptComponentDescriptor

NameDescription
System_CAPS_pubmethodScriptBehaviorDescriptor(String, String)

Initializes a new instance of the ScriptBehaviorDescriptor class.

NameDescription
System_CAPS_pubpropertyClientID

Gets the identifier for the current ScriptBehaviorDescriptor instance.(Overrides ScriptComponentDescriptor.ClientID.)

System_CAPS_pubpropertyElementID

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

System_CAPS_pubpropertyID

Gets or sets the ID of the current ScriptComponentDescriptor instance.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubpropertyName

Gets or sets the name of the current ScriptBehaviorDescriptor instance.

System_CAPS_pubpropertyType

Gets or sets the type of the target client component.(Inherited from ScriptComponentDescriptor.)

NameDescription
System_CAPS_pubmethodAddComponentProperty(String, String)

Adds the specified property, and associates that property with the specified element.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubmethodAddElementProperty(String, String)

Adds the specified property and associates that property with the specified component.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubmethodAddEvent(String, String)

Adds the specified event and handler.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubmethodAddProperty(String, Object)

Adds the specified property and value.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubmethodAddScriptProperty(String, String)

Adds the specified property, and associates the property with the specified script.(Inherited from ScriptComponentDescriptor.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetScript()

Gets the client script that implements the target control on the page.(Overrides ScriptComponentDescriptor.GetScript().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft