Top "Mvvm-light" questions

The MVVM Light Toolkit is a set of components helping people to get started with the Model - View - ViewModel pattern in Silverlight, WPF, Xamarin, .NET Core and Windows Phone.

Handling the window closing event with WPF / MVVM Light Toolkit

I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window in …

c# wpf xaml mvvm mvvm-light
Implementing CollectionChanged

I have added CollectionChanged eventhandler(onCollectionChanged) to one of the ObservableCollection property. I have found out that onCollectionChanged method gets …

c# wpf mvvm mvvm-light
What is the template binding vs binding?

I could not understand BorderThickness="{TemplateBinding BorderThickness}. Here the code: <ControlTemplate TargetType="{x:Type wpftoolkit:DataGridCell}"> <Border …

wpf mvvm-light
MVVM Light RelayCommand Parameters

I'm having an issue with passing a parameter to a relaycommand using the GalaSoft MVVM Light framework. I know that …

c# wpf mvvm-light relaycommand
How to use RelayCommand with the MVVM Light framework

I've just started learning the MVVM Light framework and I can't find any straightforward examples on how to use a …

c# wpf mvvm mvvm-light
MVVM Light: Adding EventToCommand in XAML without Blend, easier way or snippet?

Can anyone tell me what the actual syntax is for EventToCommand class. From what I believe is that EventToCommand class …

mvvm mvvm-light eventtocommand
ViewModels in ViewModelLocator MVVM Light

Is it correct to store all my ViewModels in SimpleIoc? For instance I am having three pages MainPage, Photos, Directories (…

xaml mvvm-light
MVVM Light Messenger - Sending and Registering Objects

Could somebody be kind enough to give me an example of how to Send and Register custom objects between classes …

mvvm mvvm-light
how to use MVVMLight SimpleIoc?

I'm revamping my software which has messy Messenger.Default(...) bits. Is there any cheat sheet to know MVVMLight SimpleIoc usage (…

c# wpf inversion-of-control mvvm-light windows-store-apps
What is a ViewModelLocator and what are its pros/cons compared to DataTemplates?

Can someone give me a quick summary of what a ViewModelLocator is, how it works, and what the pros/cons …

wpf mvvm datatemplate mvvm-light viewmodellocator