preventContextMenu Property

Summary

Indicates whether to prevent the browser context menu from appearing if activated on top of the events element.

Syntax
TypeScript
JavaScript
Object.defineProperty(InteractiveService.prototype, 'preventContextMenu', 
	get: function(), 
	set: function(value) 
) 
preventContextMenu: boolean; 

Property Value

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.

Remarks

If you use InteractiveModes 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.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly