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
1336
XamDataGrid Printing: How to print visual elements created after load?
posted

Hi,

Please find attached a simple project demonstrating the issue.  Window1.xmal contains a print preview button and a XamDataGrid bound to the sample data.  When the button is pressed, a print preview of the grid is shown.

I've added a style to override the record selectors with check boxes (as per the example in the feature browser).  The check boxes appear correctly in the grid and are interactive.

The problem is the checkboxes all appear un-ticked when you print-preview.  It appears to be ignoring any change to the visuals after the data has been initially loaded...?  (I also created a control that I embedded within a data column, that contained a button and text.  When the user clicks the button, the text randomly changes colour - which works fine in the UI, but none of the colours are shown in the printed version - all text is rendered in the original colour it was shown in).

Is this bug?  is there any way to get it to print the grid as it appears at the time the print is invoked?

Regards,

Dave

GridPrintingCheckMarks.zip