Leadtools.WinForms Namespace > RasterImageViewer Class : InteractiveModeMouseButton Property |
[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); }
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.