Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: merge bars in controls that support automatic merging

$
0
0
The automatic bar merging is supported by several DevExpress controls:
- DXTabControl - see DXTabControl.AllowMerging Property to learn more on how to enable it.
- DXDocking - see MDI Bar Merging.

In this example, the DockLayoutManager component implements the tabbed MDI interface. The main application window, as well as tabs, contains MainMenuControls which are merged when a document is selected or expanded in the MDI mode. 

There are several properties you can use to control the merging process in DockLayoutManager:
- DockLayoutManager.MDIMergeStyle - using this property, it is possible to disable merging or specify what panels will be merged: only active panels or all selected tabs/maximized MDI panels.
- DockLayoutManager.AllowMergingAutoHidePanels.
- BarItem.MergeType - specifies whether an item will be removed, replaced or added to the parent bar
- BarItem.MergeOrder - controls the order in which bar items are displayed after merging.

Viewing all articles
Browse latest Browse all 7205

Trending Articles