wpf-devexpress-dot-xpf-dot-bars-ef42c349.md
Provides members used to specify what child DocumentPanels invoke the merging/unmerging mechanism.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public enum MDIMergeStyle
Public Enum MDIMergeStyle
| Name | Description |
|---|---|
Default |
Identical to the MDIMergeStyle.Always value.
|
| WhenChildActivated |
Bars/ribbons are merged in the following cases:
Bars/ribbons are unmerged in the following cases:
|
| Always |
The panel’s bar/ribbon is merged with the parent bar/ribbon in the following cases:
If your layout contains multiple DocumentGroups, the merging mechanism is invoked for all DocumentGroups simultaneously. In this case, all of them are merged to the parent at the same time.
Bars/ribbons are unmerged in the following cases:
|
| Never |
Prevents all child tabbed and MDI panels from being merged.
|
| WhenLoadedOrChildActivated |
Similar to WhenChildActivated mode, but additionally merges MDI panels and tabs that are initially maximized (docked), but not yet selected (for example, on application start).
|
The following properties accept/return MDIMergeStyle values:
MDIMergeStyle enumerator values are used to set the DockLayoutManager.MDIMergeStyle, DocumentPanel.MDIMergeStyle, BarManager.MDIMergeStyle, RibbonControl.MDIMergeStyle and RibbonStatusBarControl.MDIMergeStyle properties.
See the MDI Bar Merging and MDI Ribbon Merging topics to learn more.
See Also