Back to Devexpress

RibbonControl.Merge(RibbonControl) Method

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

latest2.0 KB
Original Source

RibbonControl.Merge(RibbonControl) Method

Merges the specified RibbonControl with the current RibbonControl.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

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

Parameters

NameTypeDescription
childRibbonRibbonControl

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

UnMerge

IsMerged

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace