Skip to main content
A newer version of this page is available. .
Bar

BarItemLinkBase.MergeOrder Property

Defines the visual position of the bar item link after merging bars/link containers into a parent BarManager.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public int MergeOrder { get; set; }

Property Value

Type Description
Int32

A non-negative integer value that specifies the position of the bar item link after merging bars/link containers into a parent BarManager

Remarks

You can generate a MDI UI using the DocumentGroup and DocumentPanel objects included in the Dock Windows library. In MDI mode, it’s possible to implement menu and bar merging, where bar item links of a child BarManager are capable of merging into a parent BarManager.

During a merge operation, the original item links of a parent BarManager and the item links of a child BarManager are arranged according to their MergeOrder property values. Items with the lowest MergeOrder come first, and the last items will be those that have the greatest MergeOrder value.

If a parent BarManager’s bar has item links with MergeOrder equal to the MergeOrder of a child BarManager’s bar item link, then the child BarManager’s item link will be placed after all the parent BarManager’s matching item links.

The MergeOrder property can accept integer values greater than or equal to zero.

Refer to the MDI Bar Merging document for more information.

See Also