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.
'Declaration
Protected Overridable Function ShouldStartDrag( _
ByVal As Integer, _
ByVal As Integer _
) As Boolean
protected virtual bool ShouldStartDrag(
int ,
int
)
Parameters
- xPos
- x position
- yPos
- y position
Return Value
True if should start drag, false otherwise.
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