【问题标题】:Hide controls in FlowDocumentReader在 FlowDocumentReader 中隐藏控件
【发布时间】:2009-11-27 19:39:13
【问题描述】:

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

【问题讨论】:

    标签: coding-style customization flowdocumentreader


    【解决方案1】:

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

    【讨论】:

    • 我确实想使用 FlowDocumentReader 工具栏功能,只是不想让内置工具栏可见。
    • 正是我需要的东西。谢谢!
    • FlowDocumentScrollViewer 不提供分页功能。
    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2011-09-10
      • 1970-01-01
      • 2011-07-01
      • 1970-01-01
      • 2023-03-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-16
      相关资源
      最近更新 更多