I need to print datagrid records only. I used one code like this, but this one printed datagrid scroll bar also. I need only records.
PrintDialog printDlg =
If you want to print all records from datagrid in wpf.I have already answere here with better explanation. see it. Print all data in the DataGrid in WPF