Click here to Skip to main content
15,887,683 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF Pie Chart Question Pin
#realJSOP26-Aug-11 7:30
mve#realJSOP26-Aug-11 7:30 
AnswerRe: WPF Pie Chart Question [modified] Pin
Abhinav S26-Aug-11 8:23
Abhinav S26-Aug-11 8:23 
GeneralRe: WPF Pie Chart Question Pin
#realJSOP26-Aug-11 8:50
mve#realJSOP26-Aug-11 8:50 
GeneralRe: WPF Pie Chart Question Pin
#realJSOP28-Aug-11 8:39
mve#realJSOP28-Aug-11 8:39 
GeneralRe: WPF Pie Chart Question Pin
Abhinav S28-Aug-11 20:10
Abhinav S28-Aug-11 20:10 
GeneralRe: WPF Pie Chart Question Pin
#realJSOP29-Aug-11 2:42
mve#realJSOP29-Aug-11 2:42 
QuestionDataGrid cell drag Pin
Saboureau26-Aug-11 2:47
Saboureau26-Aug-11 2:47 
QuestionRoutedUICommands vs ICommand. When & Why Pin
Vincent Beek25-Aug-11 20:57
Vincent Beek25-Aug-11 20:57 
Hope the title is OK. Didn't know how to put it any better.

I am looking here for some background information, opinions if you will. I know how to code them.
But I can't get my head around why sometimes things are done one way and sometimes the other.

If you read WPF books (mostly) they teach you to implement RoutedUICommands.
So in short, to have a static class with commands, commandbindings in XAML and some codebehind.

If you read some of the MVVM articles on this site or this article http://msdn.microsoft.com/en-us/magazine/dd419663.aspx[^].
They implement classes with ICommand interface and/or a RelayCommand : ICommand class and put some command handling in the ViewModel


So, when and why, pros and cons, of using one or the other. This is what I hope to hear from you.
AnswerRe: RoutedUICommands vs ICommand. When & Why Pin
SledgeHammer0126-Aug-11 5:03
SledgeHammer0126-Aug-11 5:03 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
Vincent Beek26-Aug-11 6:53
Vincent Beek26-Aug-11 6:53 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
SledgeHammer0126-Aug-11 7:00
SledgeHammer0126-Aug-11 7:00 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
Vincent Beek26-Aug-11 7:08
Vincent Beek26-Aug-11 7:08 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
SledgeHammer0126-Aug-11 7:27
SledgeHammer0126-Aug-11 7:27 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
#realJSOP26-Aug-11 7:56
mve#realJSOP26-Aug-11 7:56 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
SledgeHammer0126-Aug-11 8:35
SledgeHammer0126-Aug-11 8:35 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
Vincent Beek26-Aug-11 9:50
Vincent Beek26-Aug-11 9:50 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
SledgeHammer0126-Aug-11 10:09
SledgeHammer0126-Aug-11 10:09 
GeneralRe: RoutedUICommands vs ICommand. When & Why Pin
Vincent Beek26-Aug-11 21:38
Vincent Beek26-Aug-11 21:38 
QuestionProper way to manage c# wpf applications with multiple windows? Pin
hamzaAA25-Aug-11 13:41
hamzaAA25-Aug-11 13:41 
AnswerRe: Proper way to manage c# wpf applications with multiple windows? Pin
Mycroft Holmes25-Aug-11 14:46
professionalMycroft Holmes25-Aug-11 14:46 
AnswerRe: Proper way to manage c# wpf applications with multiple windows? Pin
_Maxxx_25-Aug-11 21:36
professional_Maxxx_25-Aug-11 21:36 
GeneralRe: Proper way to manage c# wpf applications with multiple windows? Pin
Mycroft Holmes26-Aug-11 13:08
professionalMycroft Holmes26-Aug-11 13:08 
QuestionCan I make a WPF DataGridRow unselectable? Pin
rj_odon24-Aug-11 21:46
rj_odon24-Aug-11 21:46 
AnswerRe: Can I make a WPF DataGridRow unselectable? Pin
Varsha Ramnani24-Aug-11 23:59
professionalVarsha Ramnani24-Aug-11 23:59 
QuestionVizualation of an object Pin
columbos1492724-Aug-11 9:39
columbos1492724-Aug-11 9:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.