Skip to main content

BaseLayoutItem.RestoreFromCustomization(LayoutItemDragController) Method

Restores the current layout item from the Customization Form and displays it at the specified position within the LayoutControl.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual void RestoreFromCustomization(
    LayoutItemDragController controller


Name Type Description
controller LayoutItemDragController

A LayoutItemDragController object whose settings determine the position to which the layout item should be moved.


To restore an item at a specific position, create a LayoutItemDragController object. It’s settings should identify the position in which the current item must be displayed. Then call the RestoreFromCustomization method and pass the LayoutItemDragController object.


Empty space items, splitters, labels, and separators are automatically disposed off when they are moved to the Customization Form. You should recreate them.

See Also