Xceed Toolkit Plus for WPF v4.6 Documentation
PanDistance Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class : PanDistance Property
Gets or sets how many pixels the content will pan using the PanLeft, PanUp, PanRight, or PanDown Zoombox commands.
Syntax
'Declaration
 
Public Property PanDistance As Double
'Usage
 
Dim instance As Zoombox
Dim value As Double
 
instance.PanDistance = value
 
value = instance.PanDistance
public double PanDistance {get; set;}

Property Value

The pan commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Shift+Ctrl+Left, Shift+Ctrl+Up, Shift+Ctrl+Right, and Shift+Ctrl+Down to their respective Pan commands. The keyboard focus must be within the Zoombox to pan the content via the key bindings. The default value is 5 pixels.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Zoombox Class
Zoombox Members