Skip to main content
.NET Framework Class Library
UIElementIsMouseCaptureWithin Property

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 ReadOnly Property IsMouseCaptureWithin As [%$TOPIC/aa346460_en-us_VS_110_1_0_0_0_0%]
public [%$TOPIC/aa346460_en-us_VS_110_1_0_1_0_0%] IsMouseCaptureWithin { get; }
property [%$TOPIC/aa346460_en-us_VS_110_1_0_2_0_0%] IsMouseCaptureWithin {
	[%$TOPIC/aa346460_en-us_VS_110_1_0_2_0_1%] get ();
member IsMouseCaptureWithin : [%$TOPIC/aa346460_en-us_VS_110_1_0_3_0_0%] with get
function get IsMouseCaptureWithin () : [%$TOPIC/aa346460_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: SystemBoolean
true if this element or a contained element has mouse capture; otherwise, false.
Dependency Property Information

Identifier field


Metadata properties set to true


Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1