can i use multiple CollectionViewSource in my single xaml page RRS feed

  • Question

  • I want three listviews in my single xaml page and three collection view source in page.resources,at runtime if i clik the button i need to get the particular listview data.is it possible with single collectionviewsource or with a single,how it is possible please let me know


    Thursday, August 29, 2013 1:21 PM


  • I'm not sure exactly what you mean, but here are a few possibilities.

    You can create multiple named CollectionVoewSources by registering them all in the Page.Resources the same way you do a single one, but with different names. The ListViews can then bind to the different names, or you can change a single ListView to bind to different sources when the button is clicked.


    Thursday, August 29, 2013 1:43 PM