GroupCommandInput.parentCommandInput Property

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

Description

Gets the parent CommandInput if this commandInput is the child of a TabCommandInput or GroupCommandInput. Returns null if there is no parent.

Syntax

"groupCommandInput_var" is a variable referencing a GroupCommandInput object.

# Get the value of the property.
propertyValue = groupCommandInput_var.parentCommandInput
"groupCommandInput_var" is a variable referencing a GroupCommandInput object.
#include <Core/UserInterface/GroupCommandInput.h>

// Get the value of the property.
Ptr<CommandInput> propertyValue = groupCommandInput_var->parentCommandInput();

Property Value

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

Version

Introduced in version July 2015