Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Listbox Mouseover selected item... in MVVM WPF

$
0
0

Hi Guyz,

I have a listbox with control template modified to display delete button for each listboxitem. In MVVM i need to bind this button to viewModel which is pretty easy but how do i detect which item has been selected from the command.

Its very easy to do this in code behind file, but how to comply with MVVM standards and accomplish this.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>