←Select platform

IsHoverEnabled Property

Summary

Indicates of this mode will update the IsHovered state while working.

Syntax
C#
C++/CLI
public bool IsHoverEnabled { get; set; } 
public:  
   property bool IsHoverEnabled 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to update the IsHovered state while working, otherwise; false. Default value is false.

Remarks

If the value of IsHoverEnabled is set to true, then moving the mouse over an item will change its IsHovered to true, moving the mouse away from the item sets it back to false. If you changed the image viewer appearance to have different styles for hovered item then the UI will give indication of this operation. For more information refer to Image Viewer Appearance.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
public void ImageViewerActiveItemInteractiveModeExample() 
{ 
   _imageViewer.InteractiveModes.BeginUpdate(); 
   _imageViewer.InteractiveModes.Add(new ImageViewerActiveItemInteractiveMode { IsHoverEnabled = true, IsKeyboardEnabled = true }); 
   _imageViewer.InteractiveModes.EndUpdate(); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.