Skip to main content
Bar

BarLinkContainerItem.UnMerge() Method

Restores the original layout of subitems for the container item after a previous merge operation.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void UnMerge()

Remarks

In MDI applications, XtraBars supports merging operations for bars belonging to parent and child MDI forms. The merge and unmerge mechanisms are invoked according to the BarManager.MdiMenuMergeStyle property of the parent form’s BarManager.

The Bar.Merge method allows links belonging to a child form’s bar to be merged with links belonging to the parent form’s bar. The container item’s BarLinkContainerItem.Merge method is called by the Bar.Merge method if merging is required for container items within the bars and this merges the subitems of the two container items.

The Bar.UnMerge method restores the original layout of the parent form’s bar after the previous merge operation. It automatically calls the UnMerge method to restore the original layout for a bar’s container items. You should also use this method to restore the subitems layout if you merge container items manually via a BarLinkContainerItem.Merge method call.

See the MDI Merging document for more information.

See Also