Skip to main content
All docs
V21.2

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.

View Example

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