ImageViewerAutoItemMode Enumeration

Summary

Specifies how to use the item in the interactive mode.

Syntax
TypeScript
JavaScript
lt.Controls.ImageViewerAutoItemMode = { 
	none: 0, 
	never: 1, 
	autoSet: 2, 
	autoSetActive: 3 
} 
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.

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

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.