RibbonControl.AutoUpdateMergedRibbons Property
Gets or sets whether items added to/removed from a child ribbon merged with this ribbon are automatically added to/removed from this ribbon.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean AutoUpdateMergedRibbons { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | True if items added to/removed from a child ribbon merged with this ribbon are automatically added to/removed from this ribbon; otherwise, Default or False. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Example
This example shows how to automatically update a parent status bar that is merged with a child status bar.
For example, a child status bar displays a page number. Then a new message that displays a number of words is added to the child status bar.
If the child status bars is merged with the parent status bar, the new message is not automatically added to the parent status bar when you add it to the child status bar. To update the parent status bar automatically, set its AutoUpdateMergedBars property to True.
As a result, the new message is automatically added to the parent status bar, when it is added to the child status bar.
Note
When a child form is maximized, ribbons and bars are merged automatically while status bars should be merged manually. See How to: Merge RibbonStatusBar Objects.