New Post: Is it possible to create class library using MVVM Light
Hi, You can reference MVVM Light from a class library and use the Messenger, SimpleIoc or any other class contained in MVVM Light. You must pay attention to two things: 1) The version of MVVM Light...
View ArticleNew Post: Mvvm integration, days after project creation
Hi, Normally you should be able to integrate MVVM Light at any point in the project's lifetime. The templates are just there to help with the initial "wiring". Cheers Laurent
View ArticleNew Post: Mvvm integration, days after project creation
Thanks for the clarification Ibugnion. I am running into another issue. I have resource files(of type .resx) that I have been trying to access through my MainPage.xaml . So I created an...
View ArticleNew Post: Locator acrossed multiple projects
The MEF part you show does not show the specifics of how to deal with multiple ViewModelLocators. The problem is composing a ViewModelLocator from plugins so that it has the various properties needed...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
Hello, we've create a WPF-Application with Visual Studio 2010. It works fine since February 2012. After Updating the computer of the users from Windows XP to Windows7 the users have sometime to wait...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
I've found know a non-Beta version 4.1.26, which I have installed with Nuget. The delay-problem doesn't disappear. I try to change the call of 50 RaisePropertyChanged to one call of...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
Not sure how anyone would be able to help you out - why don't you give more information like what exactly are the types of data you are binding to (like observable collections, strings, etc?), what...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
OK, I try to explain some more details. We use a WPF-Window with a ViewModel as DataContext. The ViewModel implements the browsing from one record to another. In the Window there is a control which...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
Do you break the bindings first by setting your ObservableCollections to null before you re-populate them?
View ArticleNew Post: WPF-Application with delays after Update to Windows7
No, we do this: m_detailArt4ViewModel.Rechnungen.Clear() There is a property with the last Rechnung, which was read from the database. For this we do this: m_AktuelleRechnung.Dispose()...
View ArticleNew Post: WPF-Application with delays after Update to Windows7
Have a look at this site about optimizing wpf performance, especially this section on collections
View ArticleNew Post: Calling another viewmodel's RelayCommand from within MainViewModel
Hi, This is pretty simple, but being utterly new to wp and mvvmlight, I'm not figuring this out. To put simply: On my MainPage.xaml, on the application bar, I have a New Task button. This is bound to a...
View ArticleNew Post: Calling another viewmodel's RelayCommand from within MainViewModel
Can't say I've done any WP8 dev so I'm not 100% sure how your using it. Is binding a relaycommand to a context outwith your viewmodel is a bit anti mvvm pattern? Not 100% sure on that one. It might be...
View ArticleNew Post: Calling another viewmodel's RelayCommand from within MainViewModel
Hi, You can bind to any ViewModel as long as it is reachable. The VM can either be exposed through the ViewModelLocator in which case you can use: MyCommand="{Binding TheViewModel.TheCommand,...
View ArticleNew Post: Calling another viewmodel's RelayCommand from within MainViewModel
lbugnion wrote: Hi, You can bind to any ViewModel as long as it is reachable. The VM can either be exposed through the ViewModelLocator in which case you can use: MyCommand="{Binding...
View ArticleNew Post: Calling another viewmodel's RelayCommand from within MainViewModel
Perfect Laurent, thank you very much.!
View ArticleNew Post: WPF-Application with delays after Update to Windows7
Thank you for the link. I've try out Fix 1 of the section on collections, but it doesn't help. Fix 2 or 3 I will try later. First I will try now to isolate the problem by reducing the application.
View ArticleNew Post: Best practices to cleanup resources, view models and registrations...
Hi, I am using WPF MVVM Light to implement our application. I want to know the best practice to clean up all the viewmodels and any other resources used. What is the approach to be followed. Can any...
View ArticleNew Post: Best practices to cleanup resources, view models and registrations...
Hi, Resharper provides a good visual indication of which resources are unused, by graying them out in the XAML. cheers Laurent
View ArticleNew Post: Code snippets not working after latest VS 2012 update
Can include the snippets manually.... In Visual Studio 2012, go to tools>code snippets manager (ctrl+k, ctrl+b) Add the snippets folder. You may find mvvm light snippets folder at "C:\Program Files...
View Article