Binding data to FilteredItemsSource

May 23, 2011 at 6:10 AM

Hi,

How do I bind data to FilteredItemsSource so that it functions like it does in the downloaded code? I am using MVVM and hence making use of OnPropertyChanged.

Regards,

Shilpa

May 26, 2011 at 6:50 AM

One need to handle the PropertyChanged event in the xaml.cs and bind the data using FilteredItemsSource. This solves the issue.

May 28, 2012 at 4:55 PM
Edited May 28, 2012 at 5:23 PM
Shilpa, I know this is old, how did you put FilteredItemSource in PropertyChanged event in xaml.cs for this case?
wenjie
shilpa_prabhu wrote:

Hi,

How do I bind data to FilteredItemsSource so that it functions like it does in the downloaded code? I am using MVVM and hence making use of OnPropertyChanged.

Regards,

Shilpa

May 28, 2012 at 4:58 PM
Edited May 28, 2012 at 5:23 PM
geekays wrote:

One need to handle the PropertyChanged event in the xaml.cs and bind the data using FilteredItemsSource. This solves the issue.

I know this is old, how did you put FilteredItemSource in PropertyChanged event in xaml.cs for MVVM? Do you have a mock up sample code? Thanks.

wenjie