Skip to main content
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property.

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

public bool IsMouseCaptureWithin { get; }
public:
property bool IsMouseCaptureWithin {
	bool get();
}
member IsMouseCaptureWithin : bool with get
Public ReadOnly Property IsMouseCaptureWithin As Boolean

Property Value

Type:

true if this element or a contained element has mouse capture; otherwise, false.

Identifier field

IsMouseCaptureWithinProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top