isHovered Property

Summary

Indicates whether the item is in a hovered state.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerItem.prototype, 'isHovered', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
isHovered: boolean; 

Property Value

true if this item is in a hovered state, otherwise; false. Default value is false.

Remarks

Hovered items (the value of IsHovered is true) may be rendered differently than non-selected items as described in Image Viewer Appearance.

ImageViewerSelectItemsInteractiveMode and ImageViewerActiveItemInteractiveMode modify the hover state of items for UI indication on the item under the mouse or touch.

For more information, refer Image Viewer Items.

Example

JavaScript Example
this._imageViewer.beginUpdate(); 
var item = this._imageViewer.items.item(0); 
item.isHovered = !item.isHovered; 
alert("_imageViewer.items.item(0).isHovered = " + item.isHovered.toString()); 
this._imageViewer.endUpdate(); 

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