ImageGear .NET v25.2 - Updated
PanButton Property (ImGearPan)
Example 




ImageGear.Windows.Forms Assembly > ImageGear.Windows.Forms Namespace > ImGearPan Class : PanButton Property
Gets or sets the mouse button used for panning.
Syntax
'Declaration
 
Public Property PanButton As MouseButtons
'Usage
 
Dim instance As ImGearPan
Dim value As MouseButtons
 
instance.PanButton = value
 
value = instance.PanButton
public MouseButtons PanButton {get; set;}
public: __property MouseButtons get_PanButton();
public: __property void set_PanButton( 
   MouseButtons value
);
public:
property MouseButtons PanButton {
   MouseButtons get();
   void set (    MouseButtons value);
}

Property Value

System.Windows.Forms.MouseButtons value. Default value is Left.
Remarks
This value is the dragging mouse button of the ImGearPageView object that is assigned to the SourceView property.
Example
igPan.PanButton = System.Windows.Forms.MouseButtons.Left;
igPan.PanButton = System.Windows.Forms.MouseButtons.Left
See Also

Reference

ImGearPan Class
ImGearPan Members

Is this page helpful?
Yes No
Thanks for your feedback.