RadRichTextBox and FlowDocument

4 posts, 0 answers
  1. Oliver Weichhold
    Oliver Weichhold avatar
    14 posts
    Member since:
    Mar 2006

    Posted 26 Sep 2010 Link to this post

    Does the RadRichTextBox for Silverlight internally work with the WPF FlowDocument?
  2. Ivailo Karamanolev
    Admin
    Ivailo Karamanolev avatar
    276 posts

    Posted 27 Sep 2010 Link to this post

    Hello Oliver Weichhold,

    WPF FlowDocuments are not available in Silverlight, rather there is a different, somewhat similar API for documents. It's located in the System.Windows.Documents namespace, but it's quite limited, so in order to achieve maximum flexibility, we have developed our own document structure - RadDocument. We also have format providers to export/import to/from various popular formats such as HTML, XAML, Txt, etc. With Q3 we'll also introduce a format provider for Silverlight's own document structure, however as it's much less flexible than the RadDocument, not all features of the document will be preserved.
    We also have plans, most probably for Q3 too, to make the RadRichTextBox available for WPF too, at which point interoperability with FlowDocuments will be considered.
    Let us know if you have any other questions.

    Regards,
    Ivailo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. haider aslam
    haider aslam avatar
    11 posts
    Member since:
    Jan 2010

    Posted 19 Oct 2011 Link to this post

    Is FlowDocument convertible to RadDocument in new WPF RichTextBox?
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 24 Oct 2011 Link to this post

    Hi Haider Aslam,

    There is an MsRichTextBoxXamlFormatProvider, which is able to convert between RadDocument and Microsoft RichTextBox. However, it is only available for the Silverlight version of RadRichTextBox.
    We will consider porting it for WPF, too, but this feature has not been scheduled for implementation and it is not clear if and when it will be available.

    Best wishes,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top