Article relates to
RadGridView Custom Context Menu
April 2, 2008
Last modified by
Use a custom context menu in RadGridView for WinForms
RadGridView provides a straightforward way to use custom context menus, instead of the default one. This context menu will appear everytime the user right-clicks the RadGridView, regardless of the element of the control they click.
Start by creating the context menu, initializing its items, and subscribing for the events that you want to handle to achieve the desired behavior.
Once the menu object has been initialized and populated with menu items, it is ready to be attached to the RadGridView. To do that, subscribe to the ContextMenuOpening event:
In the handler of the ContextMenuOpening event, set the context menu to be displayed: