Is there a way to zoom the WPF pivot grid so that the font and all labels etc change size? Basically the users want the ability to zoom it like they do in Excel with a slidebar making more or less data visible depending on the level of zooming.
Thanks,Doug Rees
Ralph Lauren
Hello Doug,
I have been looking into your requirement and in Excel the zoom slider actually does no zoom the pivot grid, but rather scales the whole worksheet. Usually the XamPivotGrid does not have built-in zooming, however in order to achieve a similar behavior you can turn to WPF’s ScaleTransforms, which you can apply to either the RenderTransform or ScaleTransform properties. Please note that the above mentioned functionality is delivered by the MS UIElement and FrameworkElemnt classes accordingly.
Please let me know if you require any further clarification on the matter, or if I have misunderstood you in any way.
Yep that works for me thanks Petar. The text doesnt quite read as well I make it 80% but it is ok. Whereas the Xamdatagrid looks fine at 80% or even 60%.
Thanks again.
Doug
I’m glad to hear that. Let me know if I can be of any further assistance.