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