canvas keydown event binding mvvm
Hello everyone!
I am making a .net 6 wpf application and inside the application I am trying to get canvas working with mvvm I can already add items to the canvas en make them move. Also the coloision detection is working. Now the only thing I am struggling with is binding the keydown event to the viewmodel.
I am making a .net 6 wpf application and inside the application I am trying to get canvas working with mvvm I can already add items to the canvas en make them move. Also the coloision detection is working. Now the only thing I am struggling with is binding the keydown event to the viewmodel.