ImageGear .NET - Updated
MouseTool Property (PageView)




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