Quantcast
Viewing all articles
Browse latest Browse all 18858

Binding data on demand in WPF

Hi All,

I am using a combobox in a window and it’s itemsSource Property is binded to a property called list.

Now the problem is , when combobox is initializing itemssource is getting data from list property (because I have binded). I want when first time combobox’s popup is open then it should retrieve data from list property. Not at time of combobox initialzing.

In my window there are nearly 10 comboxbox and every combobox is getting data from database at the time of windown loading so window loading is getting slow. So I want data should retrieve when popup is open or getting first time focus on combobox.


Prem Shah


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>