Gets or sets the command to invoke when this button is pressed.
Assembly: PresentationFramework (in PresentationFramework.dll)
This property is used to associate a command with a particular button instance.
In Extensible Application Markup Language (XAML), this property is most often set to be a static command value from one of the existing command libraries, such as ApplicationCommands or NavigationCommands. For details, see Commanding Overview or ICommand.
The command to invoke when this button is pressed.
Available since 3.0
Available since 4.0
Windows Phone Silverlight
Available since 7.1