Detecting ‘MouseOver’ events in WPF / MVVM
Useful StackOverflow link https://stackoverflow.com/questions/36221118/how-to-make-mouseover-event-in-mvvm Step 1: Create a new WPF project Step 2: Create an example WPF window MainWindow.xaml Step 3: Create the MVVM View Model class MainWindowViewModel.cs Step 4: Add Event handling infrastructure RelayCommand.cs EventRaiser.cs EventArgs.cs Step 5: Add necessary reference to Interactivity Right click the References folder and select Add Reference… Step 6: …
Continue reading ‘Detecting ‘MouseOver’ events in WPF / MVVM’ »