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.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(RibbonAndBarsMergeStyle.Default)]
[DXCategory("Behavior")]
public RibbonAndBarsMergeStyle RibbonAndBarsMergeStyle { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Ribbon |
Default | A Ribbon |
Available values:
Name | Description |
---|---|
Default | Ribbon/Bar merging is managed by the Ribbon |
Always | Bar and Ribbon controls in child Documents/Navigation |
When |
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.