BarItemLinkBase.MergeType Property
Gets or sets how the item link behaves during merge operations.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public BarItemMergeType MergeType { get; set; }
#Property Value
Type | Description |
---|---|
Bar |
A Bar |
Available values:
Name | Description |
---|---|
Default | Acts identically to the Add value. |
Add | Specifies that the child Bar When merging bars and link containers, the position to insert the Bar |
Replace | Indicates that the child Bar If such a link is not found in the parent Bar |
Merge |
This setting is applied to link the following containers: Bar, Bar When this setting is applied, the child container’s links are merged into the parent container with the same caption. If the captions of these containers are different, the child container’s links are added to the parent container (similar to the Add setting). |
Remove | For a child Bar For a parent Bar |
#Remarks
During merging, the bar item links of a child BarManager are added to a bar/link container of the parent BarManager. The MergeType property specifies how bar item links behave during merging. You can specify whether the bar item links of a child BarManager’s bar should be added to the parent BarManager’s bar (this is the default behavior), should replace the matching bar item links on the parent BarManager or should be removed. Refer to the BarItemMergeType type description for more information.
The MDI Bar Merging document covers information related to merging bars.