Stylus::Captured Property

 
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 the element to which the stylus is bound.

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

public:
property IInputElement^ Captured {
	static IInputElement^ get();
}

Property Value

Type: System.Windows::IInputElement^

The IInputElement to which the stylus is bound.

The following example demonstrates how to ensure that the stylus is not captured when the user touches the stylus to the digitizer. This example assumes that the PreviewStylusDown event is connected to the event handler.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: