RoutedCommand.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 command.

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

public string Name { get; }

Property Value

Type: System.String

The name of the command.

This property can be used when referencing a RoutedCommand in XAML.

.NET Framework
Available since 3.0
Return to top