Top "Relaycommand" questions

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

Why RelayCommand

I've been programming a lot in WPF lately but my View and ViewModel are not separate at this point. Well, …

c# wpf mvvm binding relaycommand
Implementing "close window" command with MVVM

So my first attempt did everything out of the code behind, and now I'm trying to refactor my code to …

c# wpf mvvm relaycommand
MVVM Light RelayCommand Parameters

I'm having an issue with passing a parameter to a relaycommand using the GalaSoft MVVM Light framework. I know that …

c# wpf mvvm-light relaycommand
MVVM Routed and Relay Command

What is the Difference between the RoutedCommand and RelayCommand ? When to use RoutedCommand and when to use RelayCommand in MVVM …

mvvm command relaycommand routedcommand
How do you bind a command to a MenuItem (WPF)?

Here is my code from the View.xaml.cs: private RelayCommand _closeCommand; public ICommand CloseCommand { get { if (_closeCommand == null) { _closeCommand = …

wpf data-binding command menuitem relaycommand
Simplifying RelayCommand/DelegateCommand in WPF MVVM ViewModels

If you're doing MVVM and using commands, you'll often see ICommand properties on the ViewModel that are backed by private …

c# wpf mvvm relaycommand delegatecommand
MVVM RelayCommand CanExecute

I'm implementing an RelayCommand with an execute and an canExecute part. The RelayCommand works when it is without the canExecute …

wpf windows-phone-8 mvvm-light relaycommand canexecute
Pass CommandParameter to Command in Silverlight using MVVM

I'm just learning Silverlight and looking at MVVM and Commanding. Ok, so I have seen the basic RelayCommand implementation: public …

mvvm silverlight-4.0 command relaycommand commandparameter