https://learn.microsoft.com/zh-cn/dotnet/api/system.windows.iinputelement.releasestyluscapture?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
IInputElement.ReleaseStylusCapture Method (System.Windows) | Microsoft Learn
Releases the stylus capture, if this element holds the capture.
methodsystemwindowsmicrosoftlearn