Version

OnMouseMessage Method (SelectionStrategySingle)

Called when a mouse down, up or move message is received.
Syntax
'Declaration
 
Public Overrides Function OnMouseMessage( _
   ByVal item As Infragistics.Shared.ISelectableItem, _
   ByRef msginfo As MouseMessageInfo _
) As Boolean
public override bool OnMouseMessage( 
   Infragistics.Shared.ISelectableItem item,
   ref MouseMessageInfo msginfo
)

Parameters

item
The selectable item that the mouse is over (may be null)
msginfo
Struct with the mouse message data

Return Value

Returning true on a mouse down message will cause the mouse to be captured
Remarks

Note: MouseMove and MouseUp message processing calls this method only if this method returned true on the MouseDown and thereby captured 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