【发布时间】:2013-03-10 16:53:14
【问题描述】:
很容易复制。只需创建一个新项目并粘贴以下代码:
<StackPanel Grid.Row="0" Name="Header" Height="0">
<TextBlock Text="This text is hidden" />
<ScrollViewer>
<TextBlock Margin="2" TextWrapping="Wrap" FontSize="32" Text="This text isn't."/>
</ScrollViewer>
</StackPanel>
问题是 stact 面板高度为 0,因此内容应该是不可见的。
我该如何解决?
【问题讨论】:
标签: xaml windows-phone-8