https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.uielement.pointercapturelost?view=winrt-28000
UIElement.PointerCaptureLost Event (Windows.UI.Xaml) - Windows apps | Microsoft Learn
Occurs when pointer capture previously held by this element moves to another element or elsewhere.
eventwindowsuixamlapps