StylusButton.Name Property

 

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
Show: