ImageViewerAutoItemMode Enumeration

Summary

Specifies how to use the item in the interactive mode.

Syntax

JavaScript Syntax
lt.Controls.ImageViewerAutoItemMode = { 
	None: 0, 
	Never: 1, 
	AutoSet: 2, 
	AutoSetActive: 3 
} 
TypeScript Syntax
lt.Controls.ImageViewerAutoItemMode = { 
	None: 0, 
	Never: 1, 
	AutoSet: 2, 
	AutoSetActive: 3 
} 

Members

0 None

(0) Do not set Item. Leave it as it is.

1 Never

(1) Do not use Item, always treat is as null, ImageViewerSelectItemsInteractiveMode uses this value since it never works on a specific item.

2 AutoSet

(2) Perform hit-testing and if any is found, set it in Item. If no item is found then the mode will not work.

3 AutoSetActive

(3) Perform hit-testing and if any is found, set it in Item also make it the current ActiveItem. If no item is found then the mode will not work.

Remarks

ImageViewerAutoItemMode is used as the value for the AutoItemMode property of ImageViewerInteractiveMode.

Example

For an example, refer to AutoItemMode.

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly