FlowDocumentScrollViewer and FlowDocumentReader zoom

Any way of stopping zoom on these controls from showing

Andy



Answer this question

FlowDocumentScrollViewer and FlowDocumentReader zoom

  • J.Eubangus

    You can restyle the viewer. Here is an example of how to do it:
    http://fortes.com/work
    Using the same technique you can hide the zoom control.


  • mlp232

    FYI, if your using grid layout with these you can get around it by layering a rectangle over the same space as the viewer and setting it to be postioned at the bottom and wide/long enough to cover it. Its not ideal but will let you achieve the above.
  • Tanya R. - MSFT

    Ifeanyi Echeruo wrote:

    Out of curiousity, why do you want to disable zooming in the viewer and reader

    -- Ifeanyi Echeruo [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    It's big, and it gets in the way for things like chat buffers, where screen space is important.

    At least, that's my reason.


  • Bjorck

    Control template would do it as you suggest, if you need a fair greater degree of layout control then this would be a much better approach. The approach I suggest is not the best (a bit hacky) but will serve your purpose, control templates I recommend however. Ideally would like to the ability to hide zoom be added to the documentviewer control its self.
  • Mishkina

    Out of curiousity, why do you want to disable zooming in the viewer and reader

    -- Ifeanyi Echeruo [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.



  • FlowDocumentScrollViewer and FlowDocumentReader zoom