I've got a usercontrol (InspectionItemPresenter) configuration that I can not bind correctly to the SFDataGrid, but works with a ListView.
I made a copy of my control (InspectionItemPresenter2) and modified it to accept the entire object instead of binding the parts separately and with that I can show data in my grid, but because of the way I had to set context (to make the grid data show) in the user control constructor my DataContext is the user control itself which is BAD...I need data in the grid AND the InspectionItem object as the DataContext.
Please run the example and see that the InspectionItems bind directly to the UserControl and try to help me get the DataGrid to show this as well. The current setup will throw a few exceptions (complaining about the DAtaContext being the wrong type), but you will be able to see the desired result in the ListView.
There are several extra files in the solution that can be ignored. I'm pressed for time or I would have cleaned it up for you. Sorry about the inconvenience.
thanks!
Deanna
Attachment:
UserControlBindingProblem_394ef88b.zip