StylusDevice.Name Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the name of the stylus.

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

public string Name { get; }

Property Value

Type: System.String

The name of the stylus.

The following example demonstrates the Name property.

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

.NET Framework
Available since 3.0
Return to top