Version

OnMouseDown(ISelectableItem,MouseMessageInfo,Boolean) Method

Mouse down handler that is used by both SelectionStrategyExtended and SelectionStrategyExtendedAuoDrag. SelectionStrategyExtendedAutoDrag passes true for the forceDrag parameter which puts strategy in preDrag mode when selecting.
Syntax
'Declaration
 
Public Overloads Function OnMouseDown( _
   ByVal item As Infragistics.Shared.ISelectableItem, _
   ByRef msginfo As MouseMessageInfo, _
   ByVal forceDrag As Boolean _
) As Boolean
public bool OnMouseDown( 
   Infragistics.Shared.ISelectableItem item,
   ref MouseMessageInfo msginfo,
   bool forceDrag
)

Parameters

item
The item clicked on
msginfo
A struct containing mouse message information.
forceDrag
If true will always puts strategy in preDrag mode.

Return Value

True to capture the mouse.
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