0
Answer

How to bind command to treeviewitem using MVVM WPF?

Sumit Kumawat

Sumit Kumawat

7y
295
1
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.