defaultPrevented property
Gets a value that indicates whether the default action should be canceled.
![]() ![]() |
Syntax
HRESULT value = object.get_defaultPrevented(* p);
Property values
Type: VARIANT_BOOL
Standards information
Remarks
You can set the IDOMEvent::defaultPrevented while processing an event by calling the IDOMEvent::preventDefault method. If the event was initialized with the cancelable parameter of IDOMEvent::initEvent set to VARIANT_FALSE, the default action cannot be prevented.
See also
Show:

