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.