This documentation is archived and is not being maintained.

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.

Show: