Compartilhar via


behaviorPart property

Retrieves a value that identifies the part of a rendering behavior on which this event was fired.

Syntax

HRESULT value = object.get_behaviorPart(long* p);

Property values

Type: long

the behavior part identifier.

Remarks

The IHTMLEventObj3::behaviorPart property is only applicable for rendering behaviors that implement hit testing.

The IHTMLEventObj3::behaviorPart property is set by the IHTMLPainter::HitTestPoint method when an event fires on a rendering behavior. It is a custom property that a rendering behavior can use to identify a specific part of the element that caused the event to be fired.

See also

event

Reference

IHTMLPainter::HitTestPoint

Conceptual

Using Rendering Behaviors