Hi!
I like to show(bind) a member of a Object in the XamDataGrid field but i can't do this
I populate a data grid programmatically
xamDataGridBuildingParts.DataSource = buildingParts;
The XamDataGrid has a Field type like below
<igDP:XamDataGrid Grid.Column="0" x:Name="xamDataGridBuildingParts"
......
<igDP:Field Name="type"> </igDP:Field>
The buildingParts data source has a Object calls type that contains a field displayname, is there any posibility to bind a value of a subitem, in this case the dispalyname field in XamDataGrid.
thanks for any help
Arta
Is it possible to bind Visibility of UnboundField (see earlier example) to another SubObject that is bool using BooleanToVisibilityConverter. I cannot arrive to the correct syntaxes.
Example:
The buildingParts data source has a Object named type that contains a field displayname, is there any posibility to bind a value of a subitem, in this case the dispalyname field in XamDataGrid.
Hello Arta,
You have to use UnboundField and BindingPath property like this:
<UnboundField ... BindingPath="Object1.SubObject1"/>
Please let me know if you have any questions on this.