Compartir a través de


IElementBehavior interface

Provides a notification mechanism so that MSHTML can communicate with a behavior.

Members

The IElementBehavior interface inherits from the IUnknown interface. IElementBehavior also has these types of members:

  • Methods

Methods

The IElementBehavior interface has these methods.

Method Description
Detach

Notifies the Dynamic HTML (DHTML) behavior that it is being detached from an element.

Init

Notifies the Dynamic HTML (DHTML) behavior that it has been instantiated.

Notify

Notifies the Dynamic HTML (DHTML) behavior about the progress of parsing the document and the element to which the behavior is attached.

 

Remarks

MSHTML gets this interface when it instantiates the Dynamic HTML (DHTML) behavior through a call to the IElementBehaviorFactory::FindBehavior method.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl