Himadri
Himadri

Reputation: 8876

How to enable scrollbars in silverlight 3.0

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.

Upvotes: 3

Views: 7696

Answers (2)

ashish
ashish

Reputation: 1

I have got a Scrollbar through this code:

ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" 

Upvotes: 0

luvieere
luvieere

Reputation: 37494

Add your components as children of a ScrollViewer.

Upvotes: 7

Related Questions