There is a custom window, how to make a dragmove in MVVM for it?
How and where is the mouse event right?
- What does MVVM have to do with it? - Andrew NOP
- @AndreyNOP and where should I get the window? pass it in the view model constructor? and with event handling I don't understand .. - Mike Waters
- @ AndreyNOP I don’t know what to do with it) therefore I ask) - Mike Waters
- Why do you need a Window in the ViewModel? Your task is purely visual and should be solved solely on the View side. No need to transfer Window to VM. - Andrew NOP
- @AndreyNOP ie grid can move the entire window? - Mike Waters
|