windowsforms-devexpress-dot-xtrabars-b3202fae.md
Contains values specifying when the merge mechanism should be invoked.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum BarMdiMenuMergeStyle
Public Enum BarMdiMenuMergeStyle
| Name | Description |
|---|---|
Always |
The merge mechanism is invoked when a child MDI form is activated. Merge-related toolbars of inactive child forms are hidden from these forms and from the parent form.
|
| WhenChildActivated |
The merge mechanism is invoked when a child MDI form is activated. Merge-related toolbars of inactive child forms are visible in these forms, and are hidden from the parent form.
|
| OnlyWhenChildMaximized |
The merge mechanism is invoked when a child MDI form is maximized. The unmerge mechanism is invoked when a child form is restored from the maximized view.
|
| Never |
The merge mechanism is disabled.
|
The following properties accept/return BarMdiMenuMergeStyle values:
The BarMdiMenuMergeStyle type enumerates values specifying when the merge and unmerge mechanisms should be invoked in an MDI application. You can use the BarManager.MdiMenuMergeStyle property to access this setting.
The merge mechanism, when invoked, does two things:
The order in which new links will be combined with existing links during merging is specified by the items’ BarItem.MergeOrder properties. Links are combined based on the items’ BarItem.MergeType properties.
The unmerge mechanism restores bar link layouts after the recent merge operations. Two actions are performed:
You can refer to the MDI Merging document for more details.
See Also