Gets or sets how many pixels the content will pan using the
PanLeft,
PanUp,
PanRight, or
PanDown Zoombox commands.
public double PanDistance {get; set;}
'Declaration
Public Property PanDistance As Double
'Usage
Dim instance As Zoombox
Dim value As Double
instance.PanDistance = value
value = instance.PanDistance
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.
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