Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutController Class

Represents the object that provides methods to manage the layout of items.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public class LayoutController :
    ILayoutController,
    IActiveItemOwner,
    IDisposable

#Remarks

Use the DockLayoutManager.LayoutController property to access a LayoutController object, which provides methods to customize the layout of items. These methods allow you to hide, restore, move layout items and access hidden items.

#Example

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)

#Inheritance

Object
LayoutController
See Also