get_preventContextMenu();
set_preventContextMenu(value);
Object.defineProperty('preventContextMenu');
Type | Description |
---|---|
boolean | true to prevent the browser context menu from appearing if activated on top of the events element; otherwise, it is false. Default value is false. |
If you use ImageViewer.SetMouseInteractiveMode to associate an interactive mode with the right mouse button, then the viewer will automatically set the value of PreventContextMenu of its service instance to true.