What is the best substitute for FlowDocument in Silverlight?

前端 未结 4 1549
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-21 00:46

I\'m porting an application from WPF to Silverlight and was saddened to read of the lack of FlowDocument support.

相关标签:
4条回答
  • 2020-12-21 00:53

    Just use the RichTextBox in Silverlight 4.0

    0 讨论(0)
  • 2020-12-21 01:00

    In Silverlight 3 Vectorlight's Free RichTextBox can do a pretty good job of what you need using HTML.

    In Silverlight 4 you have the option of using the RichTextBox to represent your content.

    0 讨论(0)
  • 2020-12-21 01:09

    If you do get something like that up and running, msg me and maybe we can collaborate on bringing my "BindableFlowDocument" into the world of Silverlight. ;)

    edit - wow, I must have gotten mixed up - my original answer was way off

    0 讨论(0)
  • 2020-12-21 01:19

    Inline with the comments of SL4 RC's RichTextBox (RichTextArea, circa SL4 Beta), and with your example of importing marked up text, the SL4 RC RichTextBox will allow for an import of XAML formatted text - like string richText = MyRichContent.Xaml; on this page: http://timheuer.com/blog/#richtextbox. Details are listed here: http://msdn.microsoft.com/en-us/library/system.windows.controls.richtextbox.xaml(VS.96).aspx.

    0 讨论(0)
提交回复
热议问题