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
1775
Printing WPF application - Scroll bar issue
posted
Hi,
I am trying to print wpf application which contains a xamdatagrid. I am passing my content control which holds a xamdatagrid to my print engine.The print engine will use XpsSerializationManager to save my contentcontrol to a xpsdocument, which will then be printed using PrintDocument method of the PrintDialog class.
The above appraoch works fine when the vertical scroll bar is at the top position. When the scroll bar is moved from top to any other position application doesn't respond and the no of pages which get sent to the printer is exceptionally high.
I will not be able to use Infragistics reporting as my application contains a third party graphics as well and i will have to club both graphics component and grid component in printout. 
Please help to solve this issue.
 
Regards,
Sasikumar