Click here to Skip to main content
11,487,406 members (72,325 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET WPF Commands .NET4
What is difference between these WPF Commands:

Routed Command, Routed UI Command, Relay Command and ICommand.

While developing application of applying MVVM how to choose which one should be used.
Posted 22-Aug-12 20:24pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The ICommand is a interface that is implemented in bot Routed Command and Routed IU Command, see here:[^]

This would mean that the Routed Command and the Routed UI Command is simply two different classes of implementing the command interface in. Take a look in the documentation:[^][^]

Here is an articlw from Josh Smith on the MVVM pattern that might also be useful to you:[^]
Pranav_Parashar at 23-Aug-12 2:04am
Well I am looking towards if someone can pin point exact things. the links are general introduction that I had founded and went through. But there are no specific usage distinctions that I am able to find.
One example is The difference between a RoutedUICommand and RoutedCommand is that RoutedUICommand includes a Text property. But again here I do not know what wonders this Text property does in RoutedUICommand.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,063
1 OriginalGriff 8,287
2 Sascha Lefèvre 3,334
3 Maciej Los 2,946
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 23 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100