Leadtools.Controls Namespace : ImageViewerAutoItemMode Enumeration |
Leadtools.Controls.ImageViewerAutoItemMode = function() { };
Leadtools.Controls.ImageViewerAutoItemMode.prototype = {
none = 0,
never = 1,
autoSet = 2,
autoSetActive = 3,
};
Value | Member | Description |
---|---|---|
0 | none | Do not set Item. Leave it as it is. |
1 | never | Do not use Item, always treat is as null, ImageViewerSelectItemsInteractiveMode uses this value since it never works on a specific item. |
2 | autoSet | 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 | 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. |
ImageViewerAutoItemMode is used as the value for the AutoItemMode property of ImageViewerInteractiveMode.
For an example, refer to AutoItemMode.