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.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Parameters
Name | Type | Description |
---|---|---|
childRibbon | RibbonControl | 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.