RibbonControl.RequestReMerge() Method
Updates the info about ribbon items and then re-merges the ribbon.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Ribbon, DevExpress.Wpf.Navigation
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