Example of Changing the Dock Property
- Last UpdatedMay 17, 2023
- 2 minute read
Install and embed the Utilization and Button Bar controls into a symbol as described in:
In this example the Dock properties of the Button Bar and Utilization controls are set.
The Dock properties are set to enable the controls to fill the symbol, resize correctly when the symbol size is changed, and maintain the correct relative position with other objects when the symbol is resized.
For more information, see Dock Property.
To set the Dock property of the Button Bar and Utilization controls
-
Select the embedded Button Bar control.
The Properties Editor shows all properties of the Button Bar control.
-
In the Layout property category, locate the property Dock.
-
Open the Dock property list and click the Bottom panel (highlighted below) on the layout template.

The Button Bar control is docked to the bottom of the symbol defined by the previously drawn rectangle.

-
Select the embedded Utilization control.
The Properties Editor shows all properties of the Utilization control.
-
In the Layout property category, open the Dock property list and click the Fill panel (highlighted below) on the layout template.

The Utilization control is resized to fill the size of the previously drawn rectangle.