Failed to create a 'System.Windows.Input.ICommand' from the text 'CancelCommand'.
This might wont happen to users regularly. This is because of a silly mistake while binding the Command attribute;
e.g.
<button content="Cancel" command="CancelCommand">
The above statement is wrong as you can see the CancelCommand is not binded; instead it is just added as a value;
The correct statement is as follows
<button content="Cancel" command="{Binding Path=CancelCommand}"/>
e.g.
<button content="Cancel" command="CancelCommand">
The above statement is wrong as you can see the CancelCommand is not binded; instead it is just added as a value;
The correct statement is as follows
<button content="Cancel" command="{Binding Path=CancelCommand}"/>
Comments
Post a Comment