LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

InteractiveModeMouseButton Property






Gets or sets the current mouse button associated with the viewer interactive.
Syntax
[DescriptionAttribute("Select the mouse button to use for interactive mode.")]
[CategoryAttribute("Interactive Mode")]
[DefaultValueAttribute()]
public virtual MouseButtons InteractiveModeMouseButton {get; set;}
'Declaration
 
<DescriptionAttribute("Select the mouse button to use for interactive mode.")>
<CategoryAttribute("Interactive Mode")>
<DefaultValueAttribute()>
Public Overridable Property InteractiveModeMouseButton As MouseButtons
'Usage
 
Dim instance As RasterImageViewer
Dim value As MouseButtons
 
instance.InteractiveModeMouseButton = value
 
value = instance.InteractiveModeMouseButton
[DescriptionAttribute("Select the mouse button to use for interactive mode.")]
[CategoryAttribute("Interactive Mode")]
[DefaultValueAttribute()]
public virtual MouseButtons InteractiveModeMouseButton {get; set;}
DescriptionAttribute("Select the mouse button to use for interactive mode.")
CategoryAttribute("Interactive Mode")
DefaultValueAttribute()
 get_InteractiveModeMouseButton();
set_InteractiveModeMouseButton(value);
[DescriptionAttribute("Select the mouse button to use for interactive mode.")]
[CategoryAttribute("Interactive Mode")]
[DefaultValueAttribute()]
public:
virtual property MouseButtons InteractiveModeMouseButton {
   MouseButtons get();
   void set (    MouseButtons value);
}

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.