Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrolling vertically grid content

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?

like image 548
VansFannel Avatar asked Apr 17 '26 08:04

VansFannel


1 Answers

Wrap your content in a ScrollViewer :

<ScrollViewer VerticalScrollbarVisibility="Visible" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <!-- Your content here -->
</ScrollViewer>
like image 153
Stephan Avatar answered Apr 19 '26 00:04

Stephan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!