WindowsUIButtonPanel.Merge(WindowsUIButtonPanel) Method

Merges this WindowsUIButtonPanel to the target WindowsUIButtonPanel.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public void Merge(
    WindowsUIButtonPanel buttonsPanel
)
Public Sub Merge(
    buttonsPanel As WindowsUIButtonPanel
)

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