IInputElement.CaptureMouse Method ()

 

Attempts to force capture of the mouse to this element.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

bool CaptureMouse()

Return Value

Type: System.Boolean

true if the mouse is successfully captured; otherwise, false.

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

.NET Framework
Available since 3.0
Return to top
Show: