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

ElementMergingBehavior Enum

Contains values that specify whether the current container’s elements are merged with elements of outside containers or elements of the same container, or both. A dedicated option allows you to disable merging.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public enum ElementMergingBehavior

#Members

Name Description
Undefined

The merging feature is enabled or disabled for the current container, as specified by the merging settings of outer and inner containers. By default, merging is disabled.

None

Merging is disabled for elements of a container.

All

Elements are merged with other elements defined in parent name scopes (see BarNameScope.IsScopeOwner).

InternalWithInternal

A container’s elements are only merged with other elements of the same container provided that they are defined in parent name scopes (see BarNameScope.IsScopeOwner).

InternalWithExternal

A container’s elements are only merged with elements of outside containers defined in parent name scopes (see BarNameScope.IsScopeOwner).

#Remarks

Use the MergingProperties.ElementMergingBehavior property to enable or disable merging.

See Also