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
343
How to get the DataRecord of all Record checked in the XamDataGrid
posted

Hello,

i have a Xamdatagrid with a field Checkbox on the Label  ,then i would like to enter in the values of all records that i checked (see photo below )   ....

with this is a code (i am using for  Button) i can get the 3 Records but from the First Row,Second Row and Third Row  instead i would like to get the records checked..

     for (int i = 0; i < xamDataGrid1.SelectedItems.Records.Count; i++)
                  {
                 string first = (xamDataGrid1.Records[i] as DataRecord).Cells[0].Value.ToString();
                 string second = (xamDataGrid1.Records[i] as DataRecord).Cells[1].Value.ToString();
               
                }