How to enable scrollbars in silverlight 3.0

I set the canvas width to 1500 and height to 1600 on my xaml page in silverlight 3.0.

When I launch the test page, I do not see the scroll bar. Therefore, I cannot scroll to view the elements of rest. I also need to set scrollbars for the grid.

How to enable scrollbars?

Please, help.

+3
source share
2 answers

Add your components as children ScrollViewer.

+7
source

I have a scroll through this code:

ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" 
0
source

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


All Articles