Try adding CommandParameter={Binding}
to your <Button>
. That will pass the data context of the selected item into your command through the ICommand.Execute
method.
Otherwise, move the command properties to the a model that represents the items, rather than having a single set of commands defined at the root level. I personally prefer this approach. I like my commands to be parameterless and to always act on the view model class that contains the command.