This documentation is for the old version. Go to the latest Graphics Mill docs

PanNavigator Class

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
<ToolboxBitmapAttribute(GetType(PanNavigator), "Resources.PanNavigator.bmp")> _
Public Class PanNavigator _
	Inherits UserInputController _
	Implements INavigator, IUserInputController
C#
[ToolboxBitmapAttribute(typeof(PanNavigator), "Resources.PanNavigator.bmp")]
public class PanNavigator : UserInputController, INavigator, IUserInputController

Remarks

When this navigator is attached to the BaseViewer using its property Navigator, it is working in the following way:

  1. When the left button of the mouse is pressed down, it captures the control.
  2. 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.
  3. When the left button of the mouse is released, the mouse control is dismissed.

Inheritance Hierarchy

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.

See Also

Reference