开发者

Scrolling vertically grid content

I'm developing a Windows Pho开发者_如何学Pythonne 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?


Wrap your content in a ScrollViewer :

<ScrollViewer VerticalScrollbarVisibility="Visible" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <!-- Your content here -->
</ScrollViewer>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜