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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.