views:

72

answers:

1

hi there,

I have a WPF Listview databound to an ObeservableCollection named "FilteredAppendixes". Now I create a view with:

CollectionViewSource.GetDefaultView(FilteredAppendixes);

The currentItemProperty of it will not be in sync with the Item I choose by Mouseclick in the listview. the CurrentITem property always remains the same first item in the listview, allthough I clickerd as mad at some othe rows. Why is that? How can I connect the view with with the Listview Control?

+1  A: 

did you set

IsSynchronizedWithCurrentItem="True"

on your listview?

Muad'Dib