Skip to main content
A newer version of this page is available.

How to move a layout item in code

This example shows how to programmatically move a layout item to another position. To move layout items, the LayoutController.Move method is used.

In the example, an item is moved on the left of another item.

dockLayoutManager1.LayoutController.Move(layoutItemEditor1, layoutItemButton1, MoveType.Left)