Find DataRecord from DataItem for Infragistics DataPresenter
-
29-10-2019 - |
Question
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?
Solution
There is a GetDataRecordFromDataItem method exposed by the DataRecordCollection and this could be used to get a DataRecord from the DataItem
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow