defaultInteractiveMode Property

Summary

Default interactive mode.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype, 'defaultInteractiveMode', 
	get: function(), 
	set: function(value) 
) 
defaultInteractiveMode: ImageViewerInteractiveMode; 

Property Value

The default interactive mode. Default value is null. This value can be null.

Remarks

The default interactive mode is the item in InteractiveModes that will act first when the user clicks the mouse or presses down using touch and is defined as following:

When querying the value of DefaultInteractiveMode, the viewer will return the first mode in InteractiveModes that satisfies the conditions above. If no modes satisfies these conditions, then DefaultInteractiveMode will return null.

When setting the value of DefaultInteractiveMode, the viewer will perform the following:

  • If the passed value is null, then the viewer will try to remove the interactive mode that satisfies the conditions above from InteractiveModes.

  • Otherwise, the viewer will replace the current default interactive with the value passed by the user. If no default was previously present, then the viewer will add the mode to InteractiveModes.

For more information, refer to Image Viewer Interactive Modes.

Requirements

Target Platforms

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

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