Gets or sets whether or not Bar Managers and Ribbon Controls from this NavigationFrame's child pages should be automatically merged to Bars and Ribbons in the main application form.
A RibbonAndBarsMergeStyle enumerator value that specifies whether or not Bar Managers and Ribbon Controls from this NavigationFrame's child pages should be automatically merged to Bars and Ribbons in the main application form.
Depending on the RibbonAndBarsMergeStyle property value, Ribbons and Bars within NavigationPages hosted within this NavigationFrame can be merged with Ribbons and Bars located on the application form. NavigationFrame merging mechanics are identical to Application UI Manager merging. See the Bar and Ribbon Merging topic to learn more.
The RibbonAndBarsMergeStyle property can accept the following values:
- RibbonAndBarsMergeStyle.Default - merging is controlled by Bars and Ribbons themselves - the frame does not affect this process;
- RibbonAndBarsMergeStyle.Always - merge child Bars and Ribbons, if this is allowed. Thus, even if the RibbonAndBarsMergeStyle property is set to Always, automatic merging requires the BarManager.MdiMenuMergeStyle property (RibbonControl.MdiMergeStyle property for a Ribbon) to be set to a value different from Never or Default.