Questions tagged [relaycommand]

RelayCommand is an implementation of the .NET ICommand interface made and described by WPF expert Josh Smith.

289 questions
-1
votes
1 answer

How To control relay command execution?

I have a button like this:
M.Azad
  • 3,673
  • 8
  • 47
  • 77
-3
votes
1 answer

WPF Button binding to ICommand not firing

I have a Button bound to an ICommand interface but it isn't being fired when I run the application. The button should be disabled when the app runs, putting a breakpoint in the ICommand or CanUpdate but it isn't being hit. The ICommand seems to have…
Ram
  • 527
  • 1
  • 10
  • 26
-3
votes
1 answer

WPF ICommand Implementation for ComboBoxItem

How can I implement ICommand in WPF(4.5) ComboBoxItem? I tried CommandBinding but I getting error message "Command' property of type 'CommandBinding'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject"
fynl
  • 38
  • 2
-5
votes
2 answers

Creating abstract ViewModels wpf

I'm trying to create an abstract ViewModel class, and several ViewModel classes which will inherit the abstract ViewModel and implement it. So far I'm using RelayCommand and it doesn't compile. Can such a thing be done? I'm adding my…
Idanis
  • 1,918
  • 6
  • 38
  • 69
1 2 3
19
20