Questions tagged [commandbinding]

Binds a RoutedCommand to the event handlers that implement the command.

201 questions
0
votes
1 answer

Command binding to a GridView of buttons

I have a GridView which is bound to a List of Objects X in the ViewModel, I want to Command bind to each button, so that in when I click the button i get info from the selected X object and view it somewhere else. Simply as that. I can't seem to…
smohamed
  • 3,234
  • 4
  • 32
  • 57
0
votes
1 answer

ListBox MouseBinding to Command not working

I want to bind the MouseDoubleClick (or PreviewMouseDoubleClick) to my custom Command defined in my custom WPF Control. The problem is that it does not work. ... ...
theSpyCry
  • 12,073
  • 28
  • 96
  • 152
0
votes
2 answers

ListboxItem self binding

How can i bind a command parameter to self? I try like this: