隐藏FlowDocumentReader中的控件

Dan*_*Dan 6 customization coding-style flowdocumentreader

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

Jer*_*ard 16

只需使用FlowDocumentScrollVieweran,并将其IsToolBarVisible属性设置为false.


Ana*_*tts 3

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