Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

#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