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.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-move-a-layout-item-in-code-e1895.
dockLayoutManager1.LayoutController.Move(layoutItemEditor1, layoutItemButton1, MoveType.Left)