# Panning

The **PanTool** is one of the tools that come out-of-the-box with the **RadImageEditor** and enables you to pan the image using the mouse.

Similarly to the other **RadImageEditor** tools, the **PanTool** is located in the **Telerik.Windows.Media.Imaging.Tools** namespace and inherits the [DrawToolBase](https://www.telerik.com/products/wpf/documentation/controls/radimageeditor/how-to/implement-drawtoolbase) class. The tool can be defined in XAML as demonstrated in **Example 1**.

**Example 1: Define PanTool**

```XAML
<tools:PanTool />
```

> The image editor tools are used along with the **RadImageEditorUI** control. See the [related article](https://www.telerik.com/products/wpf/documentation/controls/radimageeditor/features/radimageeditorui) to see where to define the tool.

## Enable panning manually

The panning feature can be enabled also by setting the **IsPanningEnabled** property of the **RadImageEditor** control to **True**. The default value of the property is False and the panning is disabled.

**Example 2: Enable PanTool**

```XAML
<telerik:RadImageEditor IsPanningEnabled="True"/>
```

The following image demonstrates the panning feature.\
![WPF RadImageEditor Panning Tool](https://www.telerik.com/products/wpf/documentation/assets/c511c031d46754df6bbd8c230b9e34fd/radimageeditor-tool-panning-0.gif)

## See Also

* [Commands and Tools](https://www.telerik.com/products/wpf/documentation/controls/radimageeditor/features/commands)
* [Cropping](https://www.telerik.com/products/wpf/documentation/controls/radimageeditor/tools/howto-use-crop)
* [Shape Tool](https://www.telerik.com/products/wpf/documentation/controls/radimageeditor/tools/shape-tool)
