This topic has not yet been rated - Rate this topic

UIElement.ReleaseMouseCapture Method

May 02, 2013

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.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.