←Select platform

InteractiveModeMouseButton Property

Summary

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

Syntax

C#
VB
C++
[DefaultValueAttribute()] 
[DescriptionAttribute("Select the mouse button to use for interactive mode.")] 
[CategoryAttribute("Interactive Mode")] 
public virtual MouseButtons InteractiveModeMouseButton {get; set;} 
<DefaultValueAttribute()> 
<DescriptionAttribute("Select the mouse button to use for interactive mode.")> 
<CategoryAttribute("Interactive Mode")> 
Public Overridable Property InteractiveModeMouseButton As MouseButtons 
[DefaultValueAttribute()] 
[DescriptionAttribute("Select the mouse button to use for interactive mode.")] 
[CategoryAttribute("Interactive Mode")] 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize