How to get mouse cursor position in WPF MVVM applications using Dependency Properties
Very useful StackOverflow link, Mark Green‘s answer, from which I have borrowed heavily here, with one or two modifications in order to fully work in a Visual Studio 2015 environment. Step 1: Create a new WPF project Step 2: Create an example WPF window MainWindow.xaml We will use this window to showcase how the mouse …