WPF and MVVM. Binding Events
问题 I'm developing a WPF application with the MVVM pattern, RelayCommand, etc. I read a lot on this question but I am not clear as to: All I want to do is move a shape, like an ellipse, for example, and capture its final position, to put in the database. But I can't bind events (MouseLetButtonDown, MouseLeftButtonUp and MouseMove) to commands. I've read about attached behaviours , but I need the arguments of the events (MouseButtonEventArgs and MouseEventArgs) to retrieve the position. Solution?