NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DHTMLBehavior Members

Public:

Constructor

DHTMLBehavior Constructor Instantiates a new instance of the DHTMLBehavior class.

Properties

BaseDesigner Returns the base Web Forms designer associated with the document.
Designer Returns the HtmlControl designer object associated with this behavior.
HTMLElement Returns the HTML element associated with the behavior (read-only property).

Methods

Draw Draws a glyph at the bottom right edge of the HTML element representing the control.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetPainterInfo Gets information about the painter.
GetType (inherited from Object) Gets the Type of the Object.
HitTestPoint [To be supplied.]
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnDesignerAttached Notification indicating that the associated control designer has been attached to this behavior instance.
OnDesignerDetached Notification indicating that the associated control designer has been detached from this behavior instance.
OnDocumentEnter Notification indicating that the associated HTML element has been added to the main document tree/markup.
OnDocumentLeave Notification indicating that the associated HTML element has been removed from the main document tree/markup.
ReloadDesignerState Refreshes the designer state.
SetParent Sets a control as the parent of this behavior.

Fields

behaviorSite The element that is the site of the behavior.
component The component the designer can design.

See Also

DHTMLBehavior Class | System.Web.UI.Design Namespace