StylusButton.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 button.

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

public string Name { get; }

Property Value

Type: System.String

The name of the stylus button.

The following example demonstrates the Name property.

// Get the name of the StylusButton
textbox1.AppendText("StylusButton.Name: " + myStylusButton.Name + "\n");

.NET Framework
Available since 3.0
Return to top