Share via

UIElement.IsMouseCaptureWithin 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.

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

Property Value

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


Dependency Property Information

Identifier field IsMouseCaptureWithinProperty
Metadata properties set to true None

Applies to

See also