A newer version of this page is available. Switch to the current version.

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

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