Leadtools.Controls Namespace > ImageViewerItem Object : IsHovered Property |
get_isHovered();
set_isHovered(value);
Object.defineProperty('isHovered');
Type | Description |
---|---|
boolean | true if this item is in a hovered state, otherwise; false. Default value is false. |
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.
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();