Share via

UIElement.IsStylusCaptureWithin Property


Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property.

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

Property Value

true if this element or a contained element has stylus capture; otherwise, false. The default is false.


Touch, mouse, and stylus input exist in a particular relationship. For more information, see Touch Input Support in Windows Vista and Input Overview.

Dependency Property Information

Identifier field IsStylusCaptureWithinProperty
Metadata properties set to true None

Applies to

See also