简体   繁体   English

Windows Phone 8中的RichTextBox削减了长内容

[英]RichTextBox in Windows Phone 8 cuts long content

I have next XAML: 我有下一个XAML:

<ScrollViewer Height="Auto">
    <RichTextBox VerticalScrollBarVisibility="Visible">
       <Paragraph>
           Lorem ipsum ....
       </Paragraph>
    </RichTextBox>
</ScrollViewer>

If you set very long text to a paragraph, lets say 10000+ bytes long - displayed content is cut even though the control height is ok: 如果你将一个非常长的文本设置为一个段落,让我们说长10000多字节 - 即使控制高度正常,显示的内容也会被删除:

在此输入图像描述

How to make it render content correctly? 如何使其正确呈现内容?

Information here . 这里的信息。 Apparently, the max size height on a control is 4096 px. 显然,控件上的最大尺寸高度为4096像素。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM