DropDownCommandInput.isEnabled Property

Parent Object: DropDownCommandInput

Derived from: CommandInput.isEnabled


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

Description

Gets or sets if this input is currently enabled or disabled for user interaction.

Syntax

"dropDownCommandInput_var" is a variable referencing a DropDownCommandInput object.
# Get the value of the property.
propertyValue = dropDownCommandInput_var.isEnabled

# Set the value of the property.
dropDownCommandInput_var.isEnabled = propertyValue
"dropDownCommandInput_var" Is a variable referencing a DropDownCommandInput Object.
#include <Core/UserInterface/DropDownCommandInput.h>

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

// Set the value of the property, where value_var is a boolean.
bool returnValue = dropDownCommandInput_var->isEnabled(value_var);
"dropDownCommandInput_var" Is a variable referencing a DropDownCommandInput Object.
// Get the value of the property.
propertyValue = dropDownCommandInput_var.isEnabled;

// Set the value of the property.
dropDownCommandInput_var.isEnabled = propertyValue;

Property Value

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

Version

Introduced in version January 2015