Skip to main content

Arranging Layout Items and Groups

  • 2 minutes to read

Layout elements (groups and items) can be hidden/displayed, moved to another group or rearranged inside the same group. At design time, you can accomplish this by using the Customization Form or via drag-and-drop operations.

At runtime, drag-and-drop operations are available if any of the following customization modes are active:

Drag a group or an item to the Customization Form or outside the layout control to make it invisible.

Drag the group or item header back to the layout control to make it visible again.

With the Customization Form, end-users can also create new groups and certain auxiliary items.

Once a new group is created, it can be inserted into the layout control and populated with appropriate items.

Prohibiting Group Layout Customization

You can prohibit end-users from customizing a group’s content layout by setting the group’s Locked property to True.

After this, end-users cannot change the internal group layout (add a new element or remove any element) when the layout control is in customization mode. However, end-users can still change the external layout of any group – move it to another group or change its visibility. Selecting an item or group in a locked group will select the entire locked group.

Group Content Scrolling

In layout groups that display scrollbars, the layout control provides the following capabilities to help users scroll the group content to locate certain elements or find an appropriate drop position for a layout element being dragged:

  • Scroll the group content by dragging the element over the shaft or scroll buttons of a scrollbar.

  • At runtime, scroll the content of a layout group that displays a vertical scrollbar using the mouse wheel while hovering the mouse pointer over this group in a focused layout control.

See Also