LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

InteractiveModeMouseButton Property

Show in webframe





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

            

            
[DefaultValueAttribute()]
[DescriptionAttribute("Select the mouse button to use for interactive mode.")]
[CategoryAttribute("Interactive Mode")]
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

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.