BarManager.MDIMergeStyle Property
Gets or sets if the BarManager’s bars can be merged.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public MDIMergeStyle MDIMergeStyle { get; set; }
#Property Value
Type | Description |
---|---|
MDIMerge |
A MDIMerge |
Available values:
Name | Description |
---|---|
Default | Identical to the MDIMerge |
When |
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 Document Bars/ribbons are unmerged in the following cases:
|
Never | Prevents all child tabbed and MDI panels from being merged. |
When |
Similar to When |
#Remarks
The merging mechanism is invoked according to the DockLayoutManager.MDIMergeStyle and DocumentPanel.MDIMergeStyle properties.
You can prevent bars that belong to the current BarManager from being merged by setting the BarManager.MDIMergeStyle property to MDIMergeStyle.Never. If the BarManager.MDIMergeStyle property is set to other values, the merging is enabled for the current BarManager.
See MDI Bar Merging to learn more.