preventContextMenu Property

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(InteractiveService.prototype, 'preventContextMenu', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly