'Declaration Public Event ContextMenuOpening As EventHandler(Of SpreadsheetContextMenuOpeningEventArgs)
public event EventHandler<SpreadsheetContextMenuOpeningEventArgs> ContextMenuOpening
The event handler receives an argument of type SpreadsheetContextMenuOpeningEventArgs containing data related to this event. The following SpreadsheetContextMenuOpeningEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Context | Return an object that provides context for the menu being shown. This can be null. |
ContextMenu | Returns the menu that will be displayed. |
MenuArea | Returns the area of the spreadsheet for which the context menu will be displayed. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2