Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3
UIElement Class
UIElement Methods
 ReleaseMouseCapture Method

  Switch on low bandwidth view
This page is specific to
Microsoft Silverlight 3

Other versions are also available for the following:
.NET Framework Class Library for Silverlight
UIElement..::.ReleaseMouseCapture Method

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

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Sub ReleaseMouseCapture
Visual Basic (Usage)
Dim instance As UIElement

instance.ReleaseMouseCapture()
C#
public void ReleaseMouseCapture()

The ReleaseMouseCapture method disables mouse capture for an object that has captured the mouse by using the CaptureMouse method. When an object has captured the mouse, it receives mouse input whether or not the mouse pointer is within its bounds.

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

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker