Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.