Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
How to retrieve a record from xamdatagrid based on a specific index ?

Requirement : Would like to get a particular record from a wpf xamdatagrid based on a index , and use that record as a starting point to loop through the xamdatagrid until certain count is reached.

So My question would be how to get a record from a xamdatagrid based on a index?

  • 28750
    Offline posted

    Hello Sowmya,

    The simplest way to get a particular record from a particular index in the XamDataGrid would be to index into the XamDataGrid.Records collection. For example, if you wanted to get the record at index 20, you could call:

    Record record = myXamDataGrid.Records[20];

    Please let me know if you have any other questions or concerns on this matter.

Reply Children