Export (0) Print
Expand All
Information
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

July 28, 2014

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

Show:
© 2014 Microsoft