IInputElement.CaptureMouse Method

Definition

Attempts to force capture of the mouse to this element.

public:
 bool CaptureMouse();
public bool CaptureMouse ();
abstract member CaptureMouse : unit -> bool
Public Function CaptureMouse () As Boolean

Returns

Boolean

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

Remarks

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

Applies to

See also