New Post: How to separate commands into separate classes for a large viewmodel?
Hi, The way I do is that I have "sub-viewmodels". For example, in the case of the MainViewModel, let's imagine that you have a PrintCommand and a CancelPrintCommand. You can have a new class called...
View ArticleNew Post: How to separate commands into separate classes for a large viewmodel?
Thanks, I was thinking about going it that way. We host an editor control with a bunch of formatting commands, for instance, so I'll create a separate viewmodel for the "active editor". Out of...
View ArticleNew Post: How to separate commands into separate classes for a large viewmodel?
I think the last time I implemented ICommand (or worked on a project that implemented ICommand) was probably 3 or 4 years ago. It's just that it is a hassle to have to implement a whole class every...
View ArticleNew Post: How to separate commands into separate classes for a large viewmodel?
That makes sense, Laurent--thanks for clarifying!
View ArticleNew Post: Best way to implement communication between two view models.
Use the Messenger to do this. I think you need to read up on more on MVVM and mvvmlight in general.
View ArticleCreated Unassigned: class OrientationStateBehavior Issue [7627]
For class OrientationStateBehavior, there is a private method as follows:```private void CheckOrientationForPage(){ if (!ViewModelBase.IsInDesignModeStatic){ if (_associatedPage.ActualWidth <...
View ArticleCreated Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleCommented Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleClosed Unassigned: WP8 Slider and EventToCommand [7628]
I'm having a go at writing a small media player for my Windows Phone (more for learning purposes if anything), and am using mvvm-light. When a video is playing, I have a timer that periodically updates...
View ArticleNew Post: Missing UniversalConverter in MvvmLight 4.1.24.16313
From where can I get the code for "UniversalConverter"? Thanks, Vinay
View ArticleCreated Unassigned: mvvmpropdp macro uses UIMetaPropertyData class? [7629]
I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using...
View ArticleCommented Unassigned: mvvmpropdp macro uses UIMetaPropertyData class? [7629]
I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using...
View ArticleClosed Unassigned: mvvmpropdp macro uses UIMetaPropertyData class? [7629]
I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using...
View ArticleEdited Issue: mvvmpropdp macro uses UIMetaPropertyData class? [7629]
I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using...
View ArticleCommented Issue: mvvmpropdp macro uses UIMetaPropertyData class? [7629]
I just created a user control dependency property for a Windows Phone 8 project. I used the mvvmpropdp macro to create it. Everything was fine except the default value for the dp was being set using...
View Article