←Select platform

MouseWheelInteractiveMode Property

Summary

Gets or sets the ImageViewerInteractiveMode that the viewer control should use to process mouse wheel events.

Syntax

C#
VB
Objective-C
WinRT C#
public virtual Leadtools.Controls.ImageViewerInteractiveMode MouseWheelInteractiveMode {get; set;} 
Public Overridable Property MouseWheelInteractiveMode As Leadtools.Controls.ImageViewerInteractiveMode 
public virtual Leadtools.Controls.ImageViewerInteractiveMode MouseWheelInteractiveMode {get; set;} 
macOS Only 
@property (nonatomic, strong, nullable) LTImageViewerInteractiveMode *mouseWheelInteractiveMode 
  
get_MouseWheelInteractiveMode(); 
set_MouseWheelInteractiveMode(value); 
Object.defineProperty('MouseWheelInteractiveMode');  

Property Value

The interactive mode for mouse wheel events in the viewer control. The default value is null.

Remarks

The current InteractiveService will convert mouse wheel events to DragStarted/ InteractiveService.DragDelta%InteractiveService.DragCompleted:E:Leadtools.Controls.InteractiveService.DragCompleted% events. For example, ImageViewerPanZoomInteractiveMode does not need to do anything special to handle mouse wheel events since it already subscribes to these events and you can set an instance of this class directly in MouseWheelInteractiveMode.

To use an interactive mode, you create an instance of any of the derived classes and assign it to the viewer using one of the following methods:

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)