ControlDefinition.isEnabled Property

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

Description

Gets or sets if this definition is enabled or not. This has the effect of enabling and disabling any associated controls.

Syntax

"controlDefinition_var" is a variable referencing a ControlDefinition object.

# Get the value of the property.
propertyValue = controlDefinition_var.isEnabled

# Set the value of the property.
controlDefinition_var.isEnabled = propertyValue
"controlDefinition_var" is a variable referencing a ControlDefinition object.
#include <Core/UserInterface/ControlDefinition.h>

// Get the value of the property.
boolean propertyValue = controlDefinition_var->isEnabled();

// Set the value of the property, where value_var is a boolean.
bool returnValue = controlDefinition_var->isEnabled(value_var);

Property Value

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

Version

Introduced in version August 2014