IInputElement.LostMouseCapture Event

Definition

Occurs when this element loses mouse capture.

public:
 event System::Windows::Input::MouseEventHandler ^ LostMouseCapture;
event System.Windows.Input.MouseEventHandler LostMouseCapture;
member this.LostMouseCapture : System.Windows.Input.MouseEventHandler 
Event LostMouseCapture As MouseEventHandler 

Event Type

Remarks

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

When an element captures the mouse, it receives mouse input even if the cursor is outside its borders. The mouse is typically captured only during drag-and-drop operations.

Applies to

See also