Visual Basic (Declaration) | |
---|---|
<CategoryAttribute("Interactive Mode")> <DefaultValueAttribute()> <DescriptionAttribute("Select the mouse button to use for interactive mode.")> Public Overridable Property InteractiveModeMouseButton As MouseButtons |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageViewer Dim value As MouseButtons instance.InteractiveModeMouseButton = value value = instance.InteractiveModeMouseButton |
C# | |
---|---|
[CategoryAttribute("Interactive Mode")] [DefaultValueAttribute()] [DescriptionAttribute("Select the mouse button to use for interactive mode.")] public virtual MouseButtons InteractiveModeMouseButton {get; set;} |
C++/CLI | |
---|---|
[CategoryAttribute("Interactive Mode")] [DefaultValueAttribute()] [DescriptionAttribute("Select the mouse button to use for 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.For an example, refer to RasterImageViewer.InteractiveMode.
Use this property to change the mouse button responsible for controlling the current interactive mode (RasterImageViewer.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7