2
Reply

Mouse binding command in WPF

Mrunal Bhandarkar

Mrunal Bhandarkar

Jan 4 2015 7:20 AM
1.9k
I want select data on double click in listview. 
 
I am having some fields in listview and on double click event, data should be selected.
<MouseBinding Command="{x:Static custom:Window1.LeftClickCommand}" MouseAction="LeftClick" />
 
Above command is for window. I need to apply it for usercontrol. How can I do that?

Answers (2)