Mrunal Bhandarkar

Mrunal Bhandarkar

  • NA
  • 72
  • 43.1k

Mouse binding command in WPF

Jan 4 2015 7:20 AM
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)