RibbonControl.RequestReMerge() Method
Updates the info about ribbon items and then re-merges the ribbon.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Remarks
You should use the method to update a parent Ribbon Control when you add a ribbon item into the merged child Ribbon Control.
The following code sample adds the Item BarButtonItem and re-merges the _ribbon RibbonControl:
private void AddExecute() {
//...
group.Items.Add(new BarButtonItem() { Content = "Item" });
_ribbon.RequestReMerge();
}
See Also