This is a really well written article. Next one, hit on Theming basics and maybe toss in some libraries like Mahapps.Metro or ModernWPF
Hi, I’m still in the process of learning WPF and the MVVM pattern, could you share the resources that you used to learn? I’m somewhat stuck right now and don’t know where to proceed
Very simple and really good application, good job! Do you agree pull requests?
some tip: do not use code-behind at all in MVVM. i.e. the IMusicPlayer thingy would be fine, if he would not have some kind of data driven forward logic, I would use eventhandlers for that, because it’s not a good idea to inject this or something into the ViewModel, well it’s fine but in that case the event model would probably be more fit. (Event better: create a non MVVM element where MediaElement is wrapped that exposes the stuff you need via Properties/Commands)
the biggest gripe I have is with ListViewItem_MouseDoubleClick which is totally unnecessary.
So what do you think of XAML
?
C# devs
null reference exceptions