Problems with printing documents using UXDocumentViewer

5 replies. Last post: July 15, 2011 12:44 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

We have a problem with printing documents using UXDocumentViewer when document elements are binding to ViewModel.

When fixed document content is static and located in xaml file, document is printing properly, but if document content is binding to ViewModel, document is displayed correctly in UXDocumentViewer but printing not working correctly. Printed document does not contain elements that are binding to ViewModel. They are omitted on the printout.

I attached simple picture, that shows this problem and attached simple working sample so that you can replicate this issue. Ths sapmle is based on your documentation samples. I only added class: InvoiceDocumentViewModel with property: Title and binding it to view: InvoiceDocument.xaml.

This problem is very important to us because we can't complete the reports module in our project wchich are currently working on.

So I ask for quick help in solving this problem.

Regards,
Krzysztof

All times are GMT -5. The time now is 9:57 PM.
Previous Next