Stylus::CurrentStylusDevice Property

 

Gets the stylus that represents the stylus currently in use.

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

public:
property StylusDevice^ CurrentStylusDevice {
	[SecurityCriticalAttribute]
	static StylusDevice^ get();
}

Property Value

Type: System.Windows.Input::StylusDevice^

The StylusDevice that represents the stylus currently in use.

The following example demonstrates how to erase the text that is selected with an inverted stylus. This example assumes that there is a TextBox called textBox1 and that the StylusUpEvent 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: