Rediger

Del via


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

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