Share

NavigationEventArgs.preventDefault Property

Parent Object: NavigationEventArgs
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/NavigationEventArgs.h>

Description

If True, the default handling of this navigation event will not continue. If False, the default value, the default handling of this navigation event will continue.

Syntax

"navigationEventArgs_var" is a variable referencing a NavigationEventArgs object.

# Get the value of the property.
propertyValue = navigationEventArgs_var.preventDefault

# Set the value of the property.
navigationEventArgs_var.preventDefault = propertyValue

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version March 2021

Was this information helpful?