Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
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.

UIElement.ReleaseMouseCapture Method

Removes touch capture from a UIElement. After this call, typically no object holds touch capture.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public void ReleaseMouseCapture()

The ReleaseMouseCapture method disables touch capture for an object that has captured touch input by using the CaptureMouse method. When an object is capturing touch input, it receives touch input whether or not the user’s finger is within its bounds.

Calling ReleaseMouseCapture on an object that did not have touch capture has no effect.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft