ToString Method
Collapse the table of content
Expand the table of content

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
© 2016 Microsoft