views:

34

answers:

1

Hello.

I'm developing a Windows Phone application.

I have a phone page with a big textblock and a picture inside on a stackpanel. Because the textblock is big the picture isn't visible. I set VerticalScrollBarVisibility="Visible" on stackpanel but I can't see the picture.

How can I use a scrollbar to see the content bellow the textblock?

Thanks

+2  A: 

Wrap your content in a ScrollViewer :

<ScrollViewer VerticalScrollbarVisibility="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <!-- Your content here -->
</ScrollViewer>
Stephan