Control::ContextMenuChanged Event
.NET Framework (current version)
Occurs when the value of the ContextMenu property changes.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This event is raised if the ContextMenu property is changed by either a programmatic modification or user interaction.
For more information about handling events, see Handling and Raising Events.
The following code example displays a message when a change occurs to the shortcut menu.
.NET Framework
Available since 1.1
Available since 1.1
Show: