I'm trying to retrieve the DataRecord
associated with a given data item bound to my XamDataGrid
. Is there any way to find the DataRecord
other than enumerating through all the DataRecords
in the collection and comparing the DataRecord.DataItem
to the dataItem in question?
Asked
Active
Viewed 4,110 times
2

cordialgerm
- 8,403
- 5
- 31
- 47
1 Answers
3
There is a GetDataRecordFromDataItem method exposed by the DataRecordCollection and this could be used to get a DataRecord from the DataItem

alhalama
- 3,218
- 1
- 15
- 21