开发者

Find DataRecord from DataItem for Infragistics DataPresenter

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?


There is a GetDataRecordFromDataItem method exposed by the DataRecordCollection and this could be used to get a DataRecord from the DataItem

http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v11.2~Infragistics.Windows.DataPresenter.DataRecordCollection~GetDataRecordFromDataItem.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜