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.SetPageLayoutCommand Property

Defines the page layout settings in a Document Preview.

Namespace: DevExpress.Xpf.Printing

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

NuGet Package: DevExpress.Wpf.Printing

#Declaration

public ICommand SetPageLayoutCommand { get; }

#Property Value

Type Description
ICommand

An object implementing the ICommand interface that defines the command.

#Remarks

This command enables you to select a document’s page view:

  • Single Page

    Displays one document page at a time.

  • Two Pages

    Displays two document pages side-by-side.

  • Wrap Pages

    Displays as many pages side-by-side as possible with the current zoom factor.

Call this command with corresponding arguments to execute a specific command in this menu.

wpf-document-preview-ribbon-page-layout-menu

See Also