3

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

When I run the testpage I can't see scrollbars. So I am not able to scroll to view rest elements. I also need to set scrollbars for a grid.

How to enable scrollbars?

Please help.

Himadri
  • 8,600
  • 15
  • 47
  • 70

2 Answers2

7

Add your components as children of a ScrollViewer.

luvieere
  • 37,065
  • 18
  • 127
  • 179
0

I have got a Scrollbar through this code:

ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" 
sth
  • 222,467
  • 53
  • 283
  • 367
ashish
  • 1
  • 1