RelayCommand is an implementation of the .NET ICommand interface made and described by WPF expert Josh Smith.
Questions tagged [relaycommand]
289 questions
0
votes
1 answer
EventToCommand issue in MVVM Light
I have the following visual tree for which I am trying to send a command through the EventToCommand.
The visual is as follow :
…

serge
- 391
- 5
- 24
0
votes
2 answers
WPF. RelayCommand - CanExecute false, while Execute is processing
I want to disable a button, while its command is processing.
public ICommand Search { get; set; }
private void InitilizeSearchCommand()
{
Search = new RelayCommand(
param => DoSearch(param),
…

Ievgen Martynov
- 7,870
- 8
- 36
- 52
0
votes
2 answers
RelayCommand lambda syntax problem
I am applying the MVVM pattern per Josh Smith and having difficulty. I've been researching the problem here and can't seem to get the syntax quite right.
The code below looks to me like it follows the required syntax, but Visual Studio reports…

Tom A
- 595
- 7
- 16
0
votes
2 answers