I am working on UWP Windows 10 application using C#. For some animation I was relying on PointerPressed and PointerReleased events. Hoping that these will be fired in pairs. And I was wrong. Check what Microsoft has to say about this: https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.pointercapturelost
Now, I am using PointerCaptureLost in place of PointerReleased and it is working fine. Only problem is if I use AddHandler for PointerCaptureLost it shows an error: "UIElement.PointerCaptureLost can only appear on the left hand side of += or -=". It is only working when added as +=.
Any thoughts why it is like this?