Coding style 在FlowDocumentReader中隐藏控件

Coding style 在FlowDocumentReader中隐藏控件,coding-style,customization,flowdocumentreader,Coding Style,Customization,Flowdocumentreader,是否可以在FlowDocumentReader中隐藏底部的控件,如缩放滑块、页面导航等?似乎只有搜索可以通过IsFindEnabled属性隐藏。要做到这一点,您必须编辑默认模板-这在Blend中很容易做到,但我不知道如何在VS中做到。尽管我以前做过,这是绝对可能的。只需使用FlowDocumentScrollViewer,并将其iStolbarVisible属性设置为false。我确实想使用FlowDocumentReader工具栏功能,只是不希望内置工具栏可见。这正是我需要的。谢谢FlowDo

是否可以在FlowDocumentReader中隐藏底部的控件,如缩放滑块、页面导航等?似乎只有搜索可以通过IsFindEnabled属性隐藏。

要做到这一点,您必须编辑默认模板-这在Blend中很容易做到,但我不知道如何在VS中做到。尽管我以前做过,这是绝对可能的。

只需使用
FlowDocumentScrollViewer
,并将其
iStolbarVisible
属性设置为false。

我确实想使用FlowDocumentReader工具栏功能,只是不希望内置工具栏可见。这正是我需要的。谢谢FlowDocumentScrollViewer不提供分页功能。