Skip to main content

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