WPF Design view in Visual Studio 2010 - scrollbar scrollbar?

I just added ScrollViewerWPF to my application. Now part of my content is hidden because it is at the bottom ScrollViewer- this is intentional. However, is there any way in the Design Visual Studio 2010 view to scroll the scroll bar so that I can see what my application looks like when the scroll bar is in different positions? It would be convenient to verify this without creating my solution and not starting my application, just scroll down and make sure everything looks the way I expect.

+3
source share
2 answers

My is ScrollViewercontained in UserControl, which has no height on it. I set the height ScrollViewerto Auto, so all the content is ScrollViewerdisplayed in the Design view in my UserControl- so I can see what I'm doing. I set the height Window, which includes UserControl, so when I run my application it is ScrollViewerlimited to this height Windowif required.

+2
source

I just deleted these properties from mine UserControlin Visual Studio.

d:DesignHeight and d:DesignWidth

Like you, my ScrollViewer height has already been set to Auto.

0
source

Source: https://habr.com/ru/post/1758237/


All Articles