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 class. The tool can be defined in XAML as demonstrated in Example 1.

Example 1: Define PanTool

<tools:PanTool /> 

The image editor tools are used along with the RadImageEditorUI control. See the related article 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

<telerik:RadImageEditor IsPanningEnabled="True"/> 
The following image demonstrates the panning feature.
Silverlight RadImageEditor Panning Tool

See Also

In this article