Error processing SSI file
(Leadtools.Controls)

Show in webframe

IsHovered Property




Indicates whether the item is in a hovered state.
Syntax
public bool IsHovered {get; set;}
'Declaration
 
Public Property IsHovered As 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
Copy Code  
Imports Leadtools
Imports Leadtools.Controls
Imports Leadtools.Codecs
Imports Leadtools.Drawing
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color

_imageViewer.BeginUpdate()
_imageViewer.Items(0).IsHovered = Not _imageViewer.Items(0).IsHovered
MessageBox.Show(String.Format("_imageViewer.Items[0].IsHovered = {0}", _imageViewer.Items(0).IsHovered))
_imageViewer.EndUpdate()
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;

_imageViewer.BeginUpdate();
_imageViewer.Items[0].IsHovered = !_imageViewer.Items[0].IsHovered;
MessageBox.Show(string.Format("_imageViewer.Items[0].IsHovered = {0}", _imageViewer.Items[0].IsHovered));
_imageViewer.EndUpdate();
Requirements

Target Platforms

See Also

Reference

ImageViewerItem Class
ImageViewerItem Members

Error processing SSI file