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 =
Place your DataGrid in the ViewBox, so that you can get how you want. :)