I didn't even think of the TabControl, but that is precisely the kind of behavior I would need. Here is basically what I would need and why I am thinking of starting from a DataGrid and then applying a style, behavior (using attached properties i.e. <DataGrid
DataFormBehavior.IsDataForm="True" />), or subclassing:
- I need to be able to generate fields either automatically or by specifying them (The DataGrid does this)
- I need to display this one record at a time (I'll supply arrows to navigate)
- I need to be able to edit these records
I've looked into what I'd need to do to implement my own DataForm, and I've kind of done it to an extent, but when I look at the objects I end up with they look a whole lot like the classes used in a Datagrid. So my basic thought is to be able to swap my
grid to use a differnt panel which displays a single item at a time.
Is there a special panel for the TabControl (i.e. TabPanel ... I guess I'll look this up), does this panel perform virtualization?
Thanks for the response. I'm hoping to try out these ideas shortly. This may be a more successful alternative than attempting to recomple the Silverlight DataForm for WPF (which I have also considered).