XamGrid is bound to a PagedCollectionView loading data from domain service.say the data collection is a collection of person.
In xamGrid, I only display say 4 columns. and key of person id is not displayed.
When user click on cell or row selector, I want to get the current object, means I want to get the Person key id. As xamGrid no property of SelectedItem which is available from silverlight datagrid.
How can I get the selected person instance when user click on cell or row?
Hi,
Please try the following:
grid.SelectionSettings.SelectedRows.Single().Data
HTH,