views:

36

answers:

1

I'm doing some quick design work/rapid prototyping with WPF. I'm curious if anyone has a good strategy for getting example data into a ListView/GridView (or really any ItemsControl for that matter). The example data would either be made up on the fly, or pasted in from somewhere (e.g., an Excel file).

+1  A: 

One option is the XMLDataProvider..

This way you can type the data directly into the XAML.

See this question for an example.

Andrew Shepherd
I like this, thanks! I had thought of using an XmlDataProvider, but I didn't realize it was so easy to include the data right in the XAML.
DanM