Adding a XMLDataSource Resource RRS feed

  • Question

  • Hi All,

    Once I've added a XMLDataSource to a project in Xpression Blend 4, how do I add it to the resource dictionary?

    I'd like to simply drag it to MainWindow.xaml and see something like this generated.

      <XmlDataProvider x:Key="PeopleData" Source="/Data/People.xml" />

    It'll set the DataContext no problem, but I was wondering if there's a method via the GUI to add a resource in the above fashion - other than simply editing the XAML of course :) 


    Monday, November 22, 2010 1:52 PM