Skip to main content

RibbonControl.Merge(RibbonControl) Method

Merges the specified RibbonControl with the current RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public void Merge(
    RibbonControl childRibbon
)

Parameters

Name Type Description
childRibbon RibbonControl

A RibbonControl whose elements are to be merged with the current RibbonControl.

Remarks

The Merge method adds elements from the specified ribbon control to the current one. Merging multiple ribbon controls with a target control is possible.

To undo a merging operation and restore the original ribbon control’s layout, use the RibbonControl.UnMerge method.

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

See Also