Skip to main content

WindowsUIButtonPanel.Merge(WindowsUIButtonPanel) Method

Merges this WindowsUIButtonPanel to the target WindowsUIButtonPanel.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Merge(
    WindowsUIButtonPanel buttonsPanel
)

Parameters

Name Type Description
buttonsPanel WindowsUIButtonPanel

A WindowsUIButtonPanel to which this WindowsUIButtonPanel should be merged.

Remarks

The Merge method merges two WindowsUIButtonPanels, moving all buttons from the source panel to the target panel. After that, the source panel is hidden. Commonly, this behavior is used to avoid duplicating UI elements in parent and child windows of an MDI application. See the Ribbon Merging and Bar Merging topics for examples.

To unmerge WindowsUIButtonPanels, call the WindowsUIButtonPanel.Unmerge method.

See Also