Version

OnMouseLeftButtonDown Method (SelectionStrategyBase)

Called when a left mouse down is received.
Syntax
'Declaration
 
Public MustOverride Function OnMouseLeftButtonDown( _
   ByVal item As ISelectableItem, _
   ByVal e As MouseEventArgs _
) As Boolean
public abstract bool OnMouseLeftButtonDown( 
   ISelectableItem item,
   MouseEventArgs e
)

Parameters

item
The selectable item that the mouse is over (may be null)
e
The mouse event args

Return Value

Returning true on a mouse down message will cause the mouse to be captured
Remarks
Note: The OnMouseMove and OnMouseLeftButtonUp methods are called only if this method returns true and thereby captured the mouse.
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