Back to Devexpress

RibbonControl.UnMerge(RibbonControl) Method

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-dot-unmerge-x28-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-x29.md

latest2.4 KB
Original Source

RibbonControl.UnMerge(RibbonControl) Method

Removes the elements that belong to the specified RibbonControl from the current RibbonControl. This method is in effect when these two ribbon controls have been previously merged.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public void UnMerge(
    RibbonControl childRibbon
)
vb
Public Sub UnMerge(
    childRibbon As RibbonControl
)

Parameters

NameTypeDescription
childRibbonRibbonControl

A RibbonControl, whose elements are to be removed from the current RibbonControl.

|

Remarks

The UnMerge removes items of the specified RibbonControl. If you have merged the current RibbonControl with multiple RibbonControls, use the RibbonControl.UnMerge method overload that has no parameters to restore the original RibbonControl‘s layout, and unmerge all merged ribbon controls.

See the MDI Ribbon Merging article for detailed information about the merging mechanism.

See Also

Merge(RibbonControl)

MDI Ribbon Merging

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace