FlowDocumentReaderViewingMode 枚举

定义

FlowDocumentReader 控件指定查看模式。Names viewing modes for the FlowDocumentReader control.

public enum class FlowDocumentReaderViewingMode
public enum FlowDocumentReaderViewingMode
type FlowDocumentReaderViewingMode = 
Public Enum FlowDocumentReaderViewingMode
继承
FlowDocumentReaderViewingMode

字段

Page 0

指示 FlowDocumentReader 应一次显示一页内容。Indicates that the FlowDocumentReader should show content one page at a time.

Scroll 2

指示 FlowDocumentReader 应以连续滚动模式显示内容。Indicates that the FlowDocumentReader should show content in continuous scrolling mode.

TwoPage 1

指示 FlowDocumentReader 应一次显示两页内容,类似于一本打开的书。Indicates that the FlowDocumentReader should show content two pages at a time, similar to an open book.

注解

下图提供了页面查看模式的示例。The following figure provides an example of Page viewing mode. 页面模式一次显示一页内容。Page mode displays a single page of content at a time. 请注意, 此模式包括页面导航控件, 它们显示当前页计数和位置并提供下一页上一页按钮。Note that this mode includes page navigation controls that display the current page count and position and provide Next and Previous page buttons. 此查看模式不会显示滚动条。This viewing mode does not display scroll bars.

页面的 FlowDocReader ViewModeFlowDocReader ViewMode of Page

下图提供了 TwoPage 查看模式的示例。The following figure provides an example of TwoPage viewing mode. TwoPage 模式类似于页面模式, 每次只显示两个对开页面, 这与打开的书籍类似。TwoPage mode is similar to Page mode, except two facing pages are displayed at a time, similar to an open book. 请注意, 此模式包括页面导航控件, 这些控件显示当前页计数和位置并提供下一页上一页按钮;在此模式下, "下一步" 和 "上一页" 按钮会使内容一次跳转两页, 这与打开书籍中的页面类似。Note that this mode includes page navigation controls that display the current page count and position and provide Next and Previous page buttons; in this mode, the Next and Previous page buttons cause content to jump by two pages at a time, similar to turning a page in a book. 当前页码指示了前导页面。The current page number indicates the leading page. 此查看模式不会显示滚动条。This viewing mode does not display scroll bars.

书籍的 FlowDocumentReader ViewModeFlowDocumentReader ViewMode of Book

下图提供了一个滚动查看模式的示例。The following figure provides an example of Scroll viewing mode. 此查看模式不包括页面导航控件;相反, 用户使用提供的滚动条导航内容。This viewing mode does not include page navigation controls; rather, the user navigates content using provided scroll bars. 出于页面计数和导航的目的, 滚动查看模式显示一个页面, 其数字始终为1。For the purposes of page count and navigation, Scroll viewing mode presents a single page whose number is always 1.

![图]滚动(~/add/media/flowdocrdrviewmode-scroll.png "屏幕截图的 FlowDocumentReader ViewMode:FlowDocumentReader ViewMode")Screenshot: FlowDocumentReader ViewMode of Scroll

适用于

另请参阅