我有一个文本框,我在其中以编程方式设置内容:
LegalTextBlock.Text = "Some awfully long legal content";
(请参阅此处查看说明我的问题的 Lorem Ipsum 示例:http://pastebin.com/jWLrwcGe)
测试大约有 4k 个字符长,并没有完全显示。这是正常的吗?我怎样才能继续显示长的静态文本?
这是我的 xaml:
<ScrollViewer Margin="8">
<TextBlock x:Name="LegalTextBlock" TextWrapping="Wrap" Foreground="Black" />
</ScrollViewer>
最佳答案
Any element that must be displayed beyond the area which is larger than 2048x2048 pixels would be clipped by the platform
检查 this出,已创建自定义控件来处理您遇到的问题。
关于silverlight - WP7 的 TextBox 限制在文本中吗?漏洞?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4368670/