June 23rd, 2009, 11:08 AM
WPF auto-generate UserControls
I am developing an application in WPF and i need to create a UserControl whose layout and bindings will be created in Xaml file. When i run the program, it will fetch data from the database, create multiple user controls based on the returned rows and show all of the user controls on the window. In other words, each row will represent a new user control. I don't want to use datagrid or listview because returned data mustn't be displayed in rows.
Is there an efficient way to manage that?
Thanks in advance
Click Here to Expand Forum to Full Width