Version

RaiseMouseDownEvent(UIElement,MouseEventArgs,Boolean) Method

Raises the mouse down event
Syntax
'Declaration
 
Public Overloads Function RaiseMouseDownEvent( _
   ByVal sender As UIElement, _
   ByVal mouseArgs As MouseEventArgs, _
   ByVal isButton As Boolean _
) As Boolean
public bool RaiseMouseDownEvent( 
   UIElement sender,
   MouseEventArgs mouseArgs,
   bool isButton
)

Parameters

sender
The element that was actually clicked on
mouseArgs
The mouse arguments
isButton
True if the element that was clicked on operates as a button.

Return Value

If this method returns true, then the embeddable ui element must return true from the OnMouseDown method. If this method returns false, then do the 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