Lazy Loading wpf Combobox items

Posted by Chris McGrath on Stack Overflow See other posts from Stack Overflow or by Chris McGrath
Published on 2010-05-25T01:03:41Z Indexed on 2010/05/25 1:11 UTC
Read the original article Hit count: 378

Filed under:
|
|

I have an IEnumerable<> which lazy loads it's data. I want to just set a Combobox's ItemsSource to the IEnumerable, but when I do it goes and loads all the data anyway (which removes the point of lazy loading).

I've tried it with Linq-To-Sql as well since it seems to be a similar theory and it also loads all the data.

Is there an easy way to do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf