Skip to main content
A newer version of this page is available. .

DocumentPreviewControl.PageDisplayMode Property

Gets or sets the page display mode in the document preview. This is a dependency property.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v18.2.dll

Declaration

public PageDisplayMode PageDisplayMode { get; set; }

Property Value

Type Description
PageDisplayMode

A PageDisplayMode enumeration value.

Available values:

Name Description
Single

Document pages are displayed in one column.

Columns

Document pages are displayed in multiple columns, the number of which is specified by the DocumentPreviewControl.ColumnsCount property.

Wrap

Document pages are automatically displayed in columns and wrapped if there is insufficient space to display a specific page.

Remarks

To display document pages in one column, set the PageDisplayMode property to PageDisplayMode.Single. In the case of the PageDisplayMode.Columns value, document pages are arranged in multiple columns, the number of which is specified by the DocumentPreviewControl.ColumnsCount property. If the PageDisplayMode property is set to PageDisplayMode.Wrap, pages are automatically displayed in columns and wrapped if there is insufficient space to add a specific page.

See Also