←Select platform

InteractiveModeMouseButton Property

Summary

Gets or sets the current mouse button associated with the viewer interactive.

Syntax

C#
VB
C++
public virtual MouseButtons InteractiveModeMouseButton { get; set; } 
Public Overridable Property InteractiveModeMouseButton As MouseButtons 
public: 
virtual property MouseButtons InteractiveModeMouseButton { 
   MouseButtons get(); 
   void set (    MouseButtons ); 
} 

Property Value

A System.Windows.Forms.MouseButtons enumeration member that specify the current mouse button associated with the viewer interactive. Default value is MouseButtons.Left.

Remarks

Use this property to change the mouse button responsible for controlling the current interactive mode (InteractiveMode) of this RasterImageViewer. Be careful when setting the value of this property to MouseButtons.Right since this might conflict with any context menu strips you have attached to the viewer.

Example

For an example, refer to InteractiveMode.

Requirements

Target Platforms

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

Leadtools.WinForms Assembly