Top "Icommand" questions

Interface for MVVM scenarios in Silverlight and WPF to bind commands from models to controls (Buttons).

Passing Command Parameters

I'm trying to pass a command parameter with my command. I have commands in general working but passing a parameter …

c# wpf xaml icommand relaycommand
WPF and MVVM. Binding Events

I'm developing a WPF application with the MVVM pattern, RelayCommand, etc. I read a lot on this question but I …

wpf events mvvm binding icommand
How to enable a Button with its CanExecute method

I am developing an application in WPF using MVVM, but I am stuck with the ICommand objects. I have a …

c# wpf button prism icommand
What is the actual task of CanExecuteChanged and CommandManager.RequerySuggested?

I got the following code from Josh Smith's MVVM tutorial. Can anyone provide a quick explanation of what this code …

wpf icommand relaycommand
Is Josh Smith's implementation of the RelayCommand flawed?

Consider the reference Josh Smith' article WPF Apps With The Model-View-ViewModel Design Pattern, specifically the example implementation of a RelayCommand (…

wpf mvvm weak-references icommand relaycommand
MVVM Execute Command on ViewModel from other ViewModel

I'm struggling for about 14 days now with a simple task: In database, I have definitions for hardware categories. For example : …

c# wpf mvvm icommand
ICommand Dependency Property

I have an UserControl with a button inside. This button needs to add some items to a Grid that's inside …

c# wpf mvvm user-controls icommand
Commands using Action<> and Func<>

I am working through MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF and have hit a snag in …

c# wpf mvvm icommand relaycommand
Connecting mouse events with ViewModel via MouseBinding

I have a user control having some telerik controls in it. I have a coded a viewmodel where all the …

c# wpf xaml command icommand
Open a WPF Popup with a button

I'm trying to open a Popup with a button and have implemented a basic ICommand. The button is binded to …

c# wpf popup icommand relaycommand