Table of contents
Collapse the table of content
Expand the table of content

Viewer.ContextMenuEnabled Property (Visio Viewer)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets a value that indicates whether the shortcut (right-click) menu is enabled in Microsoft Visio Viewer. Read/write.


expression. ContextMenuEnabled

_expression_An expression that returns a Viewer object.

Return Value



The default is for the shortcut menu to be enabled ( True).

If the ContextMenuEnabled property is set to False, there is no way for the user to access that menu. However, all of the commands on the menu are available on the toolbar.


The following code disables the shortcut menu in Visio Viewer.

vsoViewer.ContextMenuEnabled = False
© 2018 Microsoft