Responder Developer Guide
ContextMenuOpening Event


Version: 10.2.1a

Resource Center Home

The event that is raised before a command is shown in a context menu.
Syntax
public event EventHandler<ContextMenuOpeningEventArgs> ContextMenuOpening
'Declaration
 
Public Event ContextMenuOpening As EventHandler(Of ContextMenuOpeningEventArgs)
 
'Usage
 
Dim instance As Command
Dim handler As EventHandler(Of ContextMenuOpeningEventArgs)
 
AddHandler instance.ContextMenuOpening, handler
Event Data

The event handler receives an argument of type ContextMenuOpeningEventArgs containing data related to this event. The following ContextMenuOpeningEventArgs properties provide information specific to this event.

PropertyDescription
ContextMenuKeyReturns/sets the key for the context menu to be shown.  
InstanceCommandReturns/sets the instance command to be affected by this event.  
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Command Class
Command Members

 

 


Send Comment