I try to print a grid. The column width is different with screen. The column width which print on paper is like Field.Width is null(default column width). But I set Field width when I create grid. I try to adjust one column width mannual and then I print, the all columns' width on paper will change.
How to set field width before printing?
I write a demo. I find if I set field width in _grid_FieldLayoutInitialized. Grid won't print right field width.
Hi lishengjie,
This one seems like an issue as it works when the width is set in XAML for instance.
We have created a support ticket (CAS-61728-0VGT7Z) and an internal issue (67571) linked to it so that you will be notified when a fix is available.
Thanks.
It looks the color setting before printing also will be lost. Please fix this in your correction.
Hello,
The XamDataGrid is meant to print out only its global styling proeprties like the ones exposed through the Field or FieldLayout instances and not through individual styles applied to separate visual elements.
Let me know if you requrie any further clarification on the matter.
Best regards Petar.