This class represents a navigator which is used to pan the image inside the BaseViewer control.
Namespace: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Syntax
| Visual Basic (Declaration) |
|---|
<NonVisualControlAttribute> _ <ToolboxBitmapAttribute(GetType(), "Resources.PanNavigator.bmp")> _ Public Class PanNavigator _ Inherits UserInputController _ Implements INavigator, IUserInputController |
| C# |
|---|
[NonVisualControlAttribute] [ToolboxBitmapAttribute(typeof(PanNavigator), "Resources.PanNavigator.bmp")] public class PanNavigator : UserInputController, INavigator, IUserInputController |
| Visual C++ |
|---|
[NonVisualControlAttribute] [ToolboxBitmapAttribute(typeof(), L"Resources.PanNavigator.bmp")] public ref class PanNavigator : public UserInputController, INavigator, IUserInputController |
Remarks
When this navigator is attached to the BaseViewer using its property Navigator, it is working in the following way:
- When the left button of the mouse is pressed down, it captures the control.
- When control is captured and the mouse is moved, the image is panned together with mouse pointer. The callback from the server occurred only if user stops moving at least for one second.
- When the left button of the mouse is released, the mouse control is dismissed.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl
Aurigma.GraphicsMill.AjaxControls.UserInputController
Aurigma.GraphicsMill.AjaxControls.PanNavigator
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl
Aurigma.GraphicsMill.AjaxControls.UserInputController
Aurigma.GraphicsMill.AjaxControls.PanNavigator
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.