BarItem.MergeType Property
Gets or sets the merge behavior for all links of the current BarItem.
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
The MergeType property specifies how all links of the current BarItem behave during merge operations. This behavior can be overridden for particular links with the BarItemLinkBase.MergeType property. See BarItemLinkBase.MergeType for details.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MergeType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.