RibbonControl.MDIMergeStyle Property
Gets or sets if the RibbonControl can be merged.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
#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 RibbonControls and RibbonStatusBarControls from being merged by setting the RibbonControl.MDIMergeStyle and/or RibbonStatusBarControl.MDIMergeStyle property to MDIMergeStyle.Never. If these properties are set to other values, merging is enabled for these objects.
See MDI Ribbon Merging to learn more.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MDIMergeStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.