Редагувати

Поділитися через


FlowDocumentReaderViewingMode Enum

Definition

Names viewing modes for the FlowDocumentReader control.

public enum class FlowDocumentReaderViewingMode
public enum FlowDocumentReaderViewingMode
type FlowDocumentReaderViewingMode = 
Public Enum FlowDocumentReaderViewingMode
Inheritance
FlowDocumentReaderViewingMode

Fields

Name Value Description
Page 0

Indicates that the FlowDocumentReader should show content one page at a time.

TwoPage 1

Indicates that the FlowDocumentReader should show content two pages at a time, similar to an open book.

Scroll 2

Indicates that the FlowDocumentReader should show content in continuous scrolling mode.

Remarks

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 ViewMode of Page

The following figure provides an example of TwoPage viewing mode. 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 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. For the purposes of page count and navigation, Scroll viewing mode presents a single page whose number is always 1.

Screenshot: FlowDocumentReader ViewMode of Scroll

Applies to

See also