I have a scenario where I need to render the XamGrid in memory and then based on it's size I need to print it on multiple pages. But I am having problems accessing the column width etc beacuse it is just in memory and is not displayed anywhere. If I understand correctly then it is due to the virtualization feature of the XamGrid.
Is there a way of turning off the Virtualization in XamGrid?
Hi,
a possible "workaround" would be to set your grid's width and height to "Auto" and place the grid inside ScrollViewer (or Canvas). This will render all the grid's cells and you'll lose the virtualization.
Note that for large amounts of data this will have a big impact on the performance.
Hope that helps,
Is there a workaround?
Hello,
I believe there is not way to turn off the virtualization of the XamGrid at this point. See a similar thread here.