Version

OnMouseDown Method (MousePanningDecorator)

Overriden. Invoked when the mouse button is pressed down on the element. This method is used to initiate the mouse panning operation when the middle mouse button has been pressed down over a System.Windows.Controls.ScrollViewer.
Syntax
'Declaration
 
Protected Overrides Sub OnMouseDown( _
   ByVal e As MouseButtonEventArgs _
) 
protected override void OnMouseDown( 
   MouseButtonEventArgs e
)

Parameters

e
Mouse event arguments
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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