two button (buttonA and buttonB) are binded with single Icommand (StartPuzzleCommand ).
startPuzzleCommand = new DelegateCommand(delegate()
{
// which control fire this action
});
now the question is how can i get which button call the delegate on click..
Well this is my second day of learning mvvm,please suggest some help;
i am using CommandReference.cs and DelegateCommand.cs predefined classes……
How about:
And in your XAML: