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

DXRichEditPrintingOptions.PrintPreviewFormKind Property

Specifies the user interface of the Print Preview form. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public PrintPreviewFormKind PrintPreviewFormKind { get; set; }

#Property Value

Type Description
PrintPreviewFormKind

A PrintPreviewFormKind enumeration value.

Available values:

Name Description
Bars

The Print Preview form utilizes the Bars user interface.

Ribbon

The Print Preview form utilizes the Ribbon user interface.

#Property Paths

You can access this nested property as listed below:

Object Type Path to PrintPreviewFormKind
RichEditControl
.PrintingOptions .PrintPreviewFormKind

#Remarks

The following images illustrate the Print Preview form with a Ribbon. This is the default form that is displayed when calling the RichEditControl.ShowPrintPreview method or executing the PrintPreviewCommand.

wpf-rich-edit-control-ribbon-print-preview-form

To invoke the Print Preview form with the bar user interface, set the PrintPreviewFormKind property to PrintPreviewFormKind.Bars.

See Also