Back to Devexpress

WindowsUIButtonPanel.Merge(WindowsUIButtonPanel) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-dot-merge-x28-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-x29.md

latest2.6 KB
Original Source

WindowsUIButtonPanel.Merge(WindowsUIButtonPanel) Method

Merges this WindowsUIButtonPanel to the target WindowsUIButtonPanel.

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
buttonsPanelWindowsUIButtonPanel

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

Unmerge()

WindowsUIButtonPanel Class

WindowsUIButtonPanel Members

DevExpress.XtraBars.Docking2010 Namespace