DropDownControl.parent Property

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

Description

Gets the Parent object. When associated with a toolbar (right or left QAT or the NavBar) this returns the parent Toolbar object. When associated with a panel it returns the parent ToolbarPanel object. When associated with a control (DropDownControl) it returns the parent control.

Syntax

"dropDownControl_var" is a variable referencing a DropDownControl object.

# Get the value of the property.
propertyValue = dropDownControl_var.parent
"dropDownControl_var" is a variable referencing a DropDownControl object.
#include <Core/UserInterface/DropDownControl.h>

// Get the value of the property.
Ptr<Base> propertyValue = dropDownControl_var->parent();

Property Value

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

Version

Introduced in version August 2014