0
我必须显示RTF文本直接到RichTextBlock的Windows 8 XAML控制是可能的以及如何?RTF文本到RichTextBlock在Windows 8中XAML
我必须显示RTF文本直接到RichTextBlock的Windows 8 XAML控制是可能的以及如何?RTF文本到RichTextBlock在Windows 8中XAML
最简单的方法是通过调用myRichEditBox.Document.SetText(TextSetOptions.FormatRtf,yourRtf)实际使用RichEditBox。 这篇文章介绍了如何绑定到文本:http://answers.flyppdevportal.com/categories/metro/csharpvb.aspx?ID=f9a83d4e-26e9-476b-8818-7ccdf91a2341
这篇文章解释了为什么RichEditBox这么比RichTextBlock强背景:http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/de958373-72a5-4987-97be-1f6549ee143e
可惜所以它似乎是没有用的RichEditBox不支持溢出为打印做分页。 – 2013-07-05 14:04:41