cancelBubble property

[This documentation is preliminary and is subject to change.]

Sets or retrieves whether the current event should bubble up the hierarchy of event handlers.

Syntax

HRESULT value = object.put_cancelBubble(VARIANT_BOOL v);HRESULT value = object.get_cancelBubble(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. Bubbling is enabled, allowing the next event handler in the hierarchy to receive the event.

VARIANT_TRUE (true)

Bubbling is disabled for this event, preventing the next event handler in the hierarchy from receiving the event.

Remarks

Using this property to cancel bubbling for an event does not affect subsequent events.

 

 

Send comments about this topic to Microsoft

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft