I want to capture a row from the xamDataGrid, and send it on to another class to do work.
the xamDataGrid.SelectedItems.Records just return the index to the array showing which row was selected, along with the information from the first column (what you call field).
Questions?
1. What is included in the xamDataGrid.SelectedItems.Records that were returned?
2. How do I access all of its members?
3. How or where on this site can I read about how to do this?
Thanks
Hi jack520,
If you want to get the data in the record you can cast the Record to DataRecord and get the DataItem property. For example:
(xamDataGrid.SelectedItems.Records[0] as DataRecord).DataItem
Thanks,
Diyan Dimitrov