Skip to main content
Bar

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

BarLinkContainerItem.UnMerge() Method

In This Article

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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