←Select platform

EnableMouseWheel Property

Summary

Indicates whether mouse wheel is enabled.

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

Property Value

true if mouse wheel is enabled; otherwise, it is false. Default value is true.

Remarks

When mouse wheel is enabled, the service will fire consecutive DragStarted, DragDelta and DragCompleted events every time the mouse wheel is moved up or down. InteractiveDragEventArgs.Change will contain the mouse wheel delta value in the Y value (with X set to 0.

To check if the event was originated from a mouse wheel, use InteractiveDragEventArgs.IsMouseWheel.

Each ImageViewerInteractiveMode can control whether it accepts drag events originated using mouse wheel using IsDragMouseWheelEnabled. If the value of this property is false, the events listed above will not be passed to the mode.

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.