How to get content of viewbox to scroll.

I have a grid in a viewbox that has a stackpanel in it. I like the idea of having the scaleable UI but when I add too many elements vertically in my stackpanel, I can never see them. If I use a scrollviewer then I don't get the benefit of having my app resize with the viewbox.

Answer this question

How to get content of viewbox to scroll.

  • Santor

    i'm also interested about this question...

    if someone know how to get content of viewbox to scoll...

    thx!!


  • Bulldog.NET

    How could this possibly work The whole point of the Viewbox is that it gives child elements infinite available space and scales them down appropriately.

    You could give the first element within the Viewbox an explicit size but that would kind of defeat the purpose of using one altogether.



  • How to get content of viewbox to scroll.