Palette.dockingOption Property

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

Description

Defines the docking behavior for this palette. This controls how the user is allowed to dock the palette.

Syntax

"palette_var" is a variable referencing a Palette object.

# Get the value of the property.
propertyValue = palette_var.dockingOption

# Set the value of the property.
palette_var.dockingOption = propertyValue
"palette_var" is a variable referencing a Palette object.
#include <Core/UserInterface/Palette.h>

// Get the value of the property.
PaletteDockingOptions propertyValue = palette_var->dockingOption();

// Set the value of the property, where value_var is a PaletteDockingOptions.
bool returnValue = palette_var->dockingOption(value_var);

Property Value

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

Version

Introduced in version March 2017