I am trying to get data row of all the items in the datagrid, but it's taking only visible item's datarow.
For Example: If i have 100 records, so i can't see 100 records at a time, because my grid will display 10 records by default, if i want to see next 10 record, i will scroll down, so at that if clik button, below code will execute to get 100 rows details, but it's taking only 10 records details, Can any one give solution to this applicaiton
Xceed.Wpf.DataGrid.DataRow dataRow = new Xceed.Wpf.DataGrid.DataRow();
foreach (object obj in this.datagrid.Items)
dataRow = datagrid.GetContainerFromItem(obj as ExportParameterData) as Xceed.Wpf.DataGrid.DataRow;
if (dataRow == null)