ApplicationEvents_11_Event.ViewContextMenuDisplay Event
Occurs before a context menu is displayed for a view.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Event ViewContextMenuDisplay As ApplicationEvents_11_ViewContextMenuDisplayEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_ViewContextMenuDisplayEventHandler
AddHandler instance.ViewContextMenuDisplay, handler
event ApplicationEvents_11_ViewContextMenuDisplayEventHandler ViewContextMenuDisplay
Remarks
This event occurs before a context menu for a view (such as a table view) is to be displayed, allowing the CommandBar object representing the context menu to be customized by an add-in.
You can use the View object to obtain more information about the context in which the context menu is to be displayed.
See Also
Reference
ApplicationEvents_11_Event Interface
ApplicationEvents_11_Event Members
Microsoft.Office.Interop.Outlook Namespace
Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ViewContextMenuDisplayEventHandler