ImageGear .NET - Updated
MouseTool Property (PageView)




ImageGear23.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.")>
<CategoryAttribute("PageView Properties")>
<BrowsableAttribute(True)>
<DefaultValueAttribute()>
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.")]
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue()]
public MouseTool MouseTool {get; set;}
[Description("An enumeration value which represents the behavior of the left mouse button.")]
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue()]
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.")]
[Category("PageView Properties")]
[Browsable(true)]
[DefaultValue()]
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