我需要在窗口/网格中托管一个FlowDocument,换句话说,我不想让Flowdocument成为根元素。有没有人能告诉我怎么做?我只找到了关于如何在FlowDocument中托管UIElements的信息,但没有找到如何将FlowDocument放在其他东西中的信息。谢谢你的任何提示!
发布于 2010-07-11 19:42:40
使用FlowDocumentViewer或它的继承者。如果需要编辑此文档-请使用RichTextBox。
发布于 2010-07-11 20:19:14
的ViewModel示例应用程序展示了如何在UserControl中托管FlowDocument。
请查找EmailClient.Presentation\Views\ShellWindow\MessageContentView.xaml文件。
https://stackoverflow.com/questions/3222891
复制相似问题