Back to Devexpress

DocumentManager.RibbonAndBarsMergeStyle Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-34fa7553.md

latest3.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RibbonAndBarsMergeStyle.Default)]
[DXCategory("Behavior")]
public RibbonAndBarsMergeStyle RibbonAndBarsMergeStyle { get; set; }
vb
<DefaultValue(RibbonAndBarsMergeStyle.Default)>
<DXCategory("Behavior")>
Public Property RibbonAndBarsMergeStyle As RibbonAndBarsMergeStyle

Property Value

TypeDefaultDescription
RibbonAndBarsMergeStyleDefault

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:

NameDescription
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

Bar and Ribbon Merging

DocumentManager Class

DocumentManager Members

DevExpress.XtraBars.Docking2010 Namespace