silverlight - WP7 的 TextBox 限制在文本中吗?漏洞?

标签 silverlight windows-phone-7

我有一个文本框,我在其中以编程方式设置内容:

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/

相关文章:

javascript - 从 Silverlight 迁移到 Html5/JavaScript

macos - 2016 年以后 Mac 上的 Silverlight : Is Out Of Browser (OOB) an option?

windows-phone-7 - 如何将 youtube 视频显示到 WP7 应用程序中?

c# - 在 Windows Phone 中使用 SVG 文件,例如 PNG 文件

wpf - 设置 Style 属性后,为什么我无法覆盖控件中的属性?

silverlight - 当图像是 xaml 中的数据绑定(bind)时清除图像缓存(释放内存)

silverlight - 没有为Silverlight输出指定Silverlight项目

silverlight - Silverlight 4 的 WriteableBitmap *真的*以 DRM 的名义削弱了合法的跨域访问吗?

C# - 替代 Silverlight 中的 .NET ArrayList.ToArray(Type)

c# - 想在 WP7 中安装相同但名称不同的应用程序