ImageGear .NET v25.1 - Updated
MouseTool Property (PageView)




ImageGear.Web Assembly > ImageGear.Web.UI Namespace > PageView Class : MouseTool Property
Gets or sets the behavior of the left mouse button.
Syntax
'Declaration
 
<CategoryAttribute("PageView Properties")>
<BrowsableAttribute(True)>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<DescriptionAttribute("An enumeration value which represents the behavior of the left mouse button.")>
Public Property MouseTool As MouseTool
'Usage
 
Dim instance As PageView
Dim value As MouseTool
 
instance.MouseTool = value
 
value = instance.MouseTool
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("An enumeration value which represents the behavior of the left mouse button.")]
public MouseTool MouseTool {get; set;}
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("An enumeration value which represents the behavior of the left mouse button.")]
public: __property MouseTool get_MouseTool();
public: __property void set_MouseTool( 
   MouseTool value
);
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Description("An enumeration value which represents the behavior of the left mouse button.")]
public:
property MouseTool MouseTool {
   MouseTool get();
   void set (    MouseTool value);
}

Property Value

The enumeration value which represents MouseTool.
Remarks
This property specifies the behavior of the left mouse button. It must be set to one of the values in the enumeration MouseTool. In all cases, the viewer will raise the mouseDown (OnMouseDown property), mouseMove (OnMouseMove property), and mouseUp (OnMouseUp property) events.

The default value is MouseTool.RectangleZoom

See Also

Reference

PageView Class
PageView Members