Sumit Kumawat

Sumit Kumawat

  • NA
  • 454
  • 405.5k

How to bind command to treeviewitem using MVVM WPF?

Oct 13 2017 12:52 AM
Hi all,
i am working on wpf application in which on TreeviewItem "MouseLeftButtonUp" i am performing some operation code behind only.
Now i want to do this using mvvm so how to do this using mvvm?
i mean how to access viewmodel method on MouseLeftButtonUp event.

What I have tried:

i tried to bind command to it but command is working with button only.