Back to Devexpress

BarItemLinkBase.MergeOrder Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritemlinkbase-bf6d98c7.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int MergeOrder { get; set; }
vb
Public Property MergeOrder As Integer

Property Value

TypeDescription
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

BarItemLinkBase.MergeType

MergeOrder

BarItem.MergeType

Merge Bars and Ribbons in MDI Mode

BarItemLinkBase Class

BarItemLinkBase Members

DevExpress.Xpf.Bars Namespace