2
Answers

Mouse binding command in WPF

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)