Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerItem Class : IsHovered Property |
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.
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();