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
1360
Zoom the pivot grid like Excel
posted

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

Parents
  • 27093
    Verified Answer
    posted

    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.

Reply Children