ButtonRowCommandInput.selectedItem Property

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

Description

Gets the button in the row that is currently selected. This can return null in the case where no button in the row has been selected.

Syntax

"buttonRowCommandInput_var" is a variable referencing a ButtonRowCommandInput object.

# Get the value of the property.
propertyValue = buttonRowCommandInput_var.selectedItem
"buttonRowCommandInput_var" is a variable referencing a ButtonRowCommandInput object.
#include <Core/UserInterface/ButtonRowCommandInput.h>

// Get the value of the property.
Ptr<ListItem> propertyValue = buttonRowCommandInput_var->selectedItem();

Property Value

This is a read only property whose value is a ListItem.

Version

Introduced in version June 2015