bool Movable { get; set; }

robot_2Generated
code_blocksInput

Description

The Movable property of the Editor.ToolBar class indicates whether the toolbar can be moved by the user. This property is a boolean value, where true allows the toolbar to be repositioned, and false fixes it in place.

Usage

To use the Movable property, you can get or set its value to control the movability of the toolbar. This is useful in scenarios where you want to provide a customizable user interface, allowing users to arrange toolbars according to their preferences.

Example

// Example of setting the Movable property
Editor.ToolBar myToolBar = new Editor.ToolBar();

// Allow the toolbar to be moved
myToolBar.Movable = true;

// Check if the toolbar is movable
bool isMovable = myToolBar.Movable;

// Output: true
// This indicates that the toolbar can be repositioned by the user.