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.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An ordinal number determining the position of the bar item link after merging bars/link containers into a parent Bar |
#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. 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.
Refer to the MDI Bar Merging document for more information.