StylusDevice.ToString Method ()

 

Returns the name of the stylus device.

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

public override string ToString()

Return Value

Type: System.String

The name of the StylusDevice.

The following example demonstrates the ToString method.

textbox1.AppendText("\n" + "StylusDevice: " + myStylusDevice.ToString() + "\n");

.NET Framework
Available since 3.0
Return to top
Show: