Hi there,
i just want to know if there is a possibility to replace the standard Context Menu of Controls?
Because I´m using the ultratoolbarsmanager and i want to set my own Context Menu to it. I´m using the SetContextMenuUltra-Function to add my ContextMenu to the Ultratoolbarsmanager but this do not replace the standard context menu, it just shows both, the standard and my contextmenu.
Better would be to set the context menu of a ribbon group but i didn´t find something in this way.
Would you please help me?
regards
Cloud
Hello Cloud,
You could try the following code in order to not show the default context menu:
private void ultraToolbarsManager1_BeforeToolbarListDropdown(object sender, Infragistics.Win.UltraWinToolbars.BeforeToolbarListDropdownEventArgs e) { e.Cancel = true; }
Please feel free to let me know if I misunderstood you or if you have any other questions.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.