Click here to Skip to main content
13,201,763 members (70,390 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 19: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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 23 Aug 2012
Copyright © CodeProject, 1999-2017
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