Version

ShouldStartDrag Method

Returns true if dragging should start (when we're in preDrag mode). The default implementation checks to see if the x or y coords exceed the drag threshold.
Syntax
'Declaration
 
Protected Overridable Function ShouldStartDrag( _
   ByVal xPos As Integer, _
   ByVal yPos As Integer _
) As Boolean
protected virtual bool ShouldStartDrag( 
   int xPos,
   int yPos
)

Parameters

xPos
x position
yPos
y position

Return Value

True if should start drag, false otherwise.
Requirements

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