I am following an MVVM pattern where my view model exposes a rich model. The model in this case is an observable collection of child view models. Each child view model has a model property, and the model exposed in this case is a rich class that has the properties I wish to bind to fields.
The problem I am running in to is that there is no way (as far as I can determine) to tell the grid that each row is bound to a view model, and that the field path should be "Model.PropertyName", not simply "PropertyName".
1) Is there a work around (other than duplicating all my properties in my view model)?
2) If not can this please be entered as a bug/feature request. Since the MVVM pattern is now well established, it seems as if the grid should support this scenario.
Thanks
HI,
Here is a help link to binding to complex fields.
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDataPresenter_Displaying_a_Complex_Property_XAML.html
Sincerely,
MattDeveloper Support Engineer