Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#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