【发布时间】:2010-09-16 01:02:58
【问题描述】:
.Net 包含一个名为DocumentViewer 的漂亮控件。它还提供了一个子控件,用于在加载的文档中查找文本(这至少是它应该做的)。
当插入FixedPage 的对象作为DocumentViewer 的文档源时,查找功能找不到任何东西。甚至没有一个字母。我还没试过FlowDocument,
由于DocumentViewer 的文档没有那么有用,而且网络上的资源实际上并不存在,我现在想问问stackoverflow 社区:
要让 WPF DocumentViewer 的 Find-Function 与 FixedPage 文档一起使用需要什么?
[顺便说一句,我不为DocumentViewer使用自定义ControlTemplates]
【问题讨论】:
标签: wpf xaml xps documentviewer fixedpage