1

I've seen several methods for handling this across several libraries but I want to know the best way to do this, specifically with MVVM Foundation. I'm trying to capture double click for list item. Thanks!

Fredrik Hedblad
  • 83,499
  • 23
  • 264
  • 266
Sieg
  • 123
  • 1
  • 6

1 Answers1

1

I don't know if it's "the best way" but I've been using Attached Behaviors for this. I can provide some sample code if you like or were you just interested in what the best way was?

Example of Attached Behavior for this can be found here:
WPF/MVVM - how to handle double-click on TreeViewItems in the ViewModel?

Community
  • 1
  • 1
Fredrik Hedblad
  • 83,499
  • 23
  • 264
  • 266