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 

備註

此介面不適用於公用的執行。This interface is not intended for public implementation. 如需詳細資訊, 請參閱IInputElement介面的備註。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.

適用於

另請參閱