IInputElement.LostMouseCapture 事件

定义

在此元素丢失鼠标捕获时发生。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 

事件类型

MouseEventHandler

注解

此接口不用于公共实现。This interface is not intended for public implementation. 有关详细信息,请参阅界面的 "备注" IInputElementFor 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.

适用于

另请参阅