Skip to main content

DocumentManager.RibbonAndBarsMergeStyle Property

Gets or sets whether Bar Managers and Ribbon Controls from this DocumentManager‘s child Documents should be automatically merged to Bars and Ribbons in the main application form.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(RibbonAndBarsMergeStyle.Default)]
[DXCategory("Behavior")]
public RibbonAndBarsMergeStyle RibbonAndBarsMergeStyle { get; set; }

Property Value

Type Default Description
RibbonAndBarsMergeStyle Default

A RibbonAndBarsMergeStyle enumerator value that specifies whether child Bar Managers and Ribbon Controls should be automatically merged to Bars and Ribbons in the main application form.

Available values:

Name Description
Default

Ribbon/Bar merging is managed by the RibbonControls/BarManagers themselves. The Document Manager/Navigation Frame control does not affect this process.

Always

Bar and Ribbon controls in child Documents/NavigationPages merge to Bar and Ribbon controls in a parent application form whenever possible.

WhenNotFloating

Documents docked as tabs merge their Bar and Ribbon controls, whereas floating Documents do not. This mode is meant to be used only for Document Manager since Navigation Frame pages never float.

Remarks

Depending on the RibbonAndBarsMergeStyle property value, Bars and Ribbons from child Documents can be either automatically merged to the main form’s Bars and Ribbons whenever it is possible, or never merge. Choose the last behavior if you want to exclude this DocumentManager from merging. See the Bar and Ribbon Merging topic for the details.

See Also