Bar

BarItem.MergeType Property

Gets or sets how the item behaves during merge operations in MDI applications.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(BarMenuMerge.Add)]
public BarMenuMerge MergeType { get; set; }
<DXCategory("Behavior")>
<DefaultValue(BarMenuMerge.Add)>
Public Property MergeType As BarMenuMerge

Property Value

Type Default Description
BarMenuMerge

Add

A BarMenuMerge value specifying how the bar item behaves during merge operations.

Remarks

During merging, the bar item links of a child MDI form are added to a bar of the parent MDI form. The MergeType property specifies how bar items behave during merging. You can specify whether the bar items of a child form's bar should be added to the parent form's bar (this is the default behavior), should replace the bar items on the parent form with identical captions, should simply be removed from the bar or should not be considered at all. Refer to the BarMenuMerge type description for more information.

The MDI Merging document covers information related to merging bars.

See Also