Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

Mouse.LostMouseCapture Attached Event

Occurs when this element (or a child element along the route) loses mouse capture.

Namespace: System.Windows.Input
Assembly: PresentationCore (in PresentationCore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

See Mouse.AddLostMouseCaptureHandler, Mouse.RemoveLostMouseCaptureHandler
See Mouse.AddLostMouseCaptureHandler, Mouse.RemoveLostMouseCaptureHandler
See Mouse.AddLostMouseCaptureHandler, Mouse.RemoveLostMouseCaptureHandler
<object Mouse.LostMouseCapture="MouseEventHandler" .../>

Identifier field

LostMouseCaptureEvent

Routing strategy

Bubbling

Delegate

MouseEventHandler

  • There is no defined corresponding tunneling event.

When an element captures the mouse, it receives mouse input whether or not the cursor is within its borders. T

Because of the bubbling routing, the actual element that lost capture might be a child element, not necessarily the element where the event handler is actually attached. Check the Source in the event arguments to determine the actual element that lost capture.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.