---
title: "PanNavigator Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_PanNavigator.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# PanNavigator Class
 
This class represents a navigator which is used to pan the image inside the [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
<ToolboxBitmapAttribute(GetType(PanNavigator), "Resources.PanNavigator.bmp")> _
Public Class PanNavigator _Inherits UserInputController _Implements INavigator, IUserInputController
```
 
```csharp
[ToolboxBitmapAttribute(typeof(PanNavigator), "Resources.PanNavigator.bmp")]
public class PanNavigator : UserInputController, INavigator, IUserInputController
```
 
## Remarks
  
When this navigator is attached to the [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) using its property [Navigator](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_Navigator.htm.md), 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
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.Web.UI.Control](http://msdn2.microsoft.com/en-us/983zwx2h)
        - [System.Web.UI.WebControls.WebControl](http://msdn2.microsoft.com/en-us/k1x24e42)
            - [Aurigma.GraphicsMill.AjaxControls.BaseScriptControl](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl.htm.md)
                - [Aurigma.GraphicsMill.AjaxControls.UserInputController](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_UserInputController.htm.md)
                    - 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.
   
## See Also

### Reference

- [PanNavigator Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_PanNavigator.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
