Version

OnMouseDown Method

Buttons capture the mouse. So this method sets captureMouse to true and returns true.
Syntax
'Declaration
 
Protected Overrides Function OnMouseDown( _
   ByVal e As MouseEventArgs, _
   ByVal adjustableArea As Boolean, _
   ByRef captureMouseForElement As Infragistics.Win.UIElement _
) As Boolean
protected override bool OnMouseDown( 
   MouseEventArgs e,
   bool adjustableArea,
   ref Infragistics.Win.UIElement captureMouseForElement
)

Parameters

e
Mouse event arguments
adjustableArea
True if left clicked over adjustable area of element.
captureMouseForElement
If not null on return will capture the mouse and forward all mouse messages to this element.

Return Value

If true then bypass default processing
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