bind linq expression

Posted by Neir0 on Stack Overflow See other posts from Stack Overflow or by Neir0
Published on 2010-06-12T17:11:23Z Indexed on 2010/06/12 17:12 UTC
Read the original article Hit count: 349

Filed under:
|
|
|

Hi,

I have a ListView and ObservableCollection in my wpf application. I want to bind linq expression to ListView:

lv_Results.DataContext = store.Where(x => x.PR > 5);

But when i add new elements to store collection, lv_Results doesnt updates. How can i update ListView?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf