ButtonBase.Command Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the command to invoke when this button is pressed.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<button Command="commandReference"/>
XAML Values
Property Value
Type: System.Windows.Input.ICommandThe command to invoke when this button is pressed. The default is Nothing.
Show: