Skip to main content

PrintingOptions.PrintPreviewFormKind Property

Specifies the user interface of the Print Preview form.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(PrintPreviewFormKind.Ribbon)]
[XtraSerializableProperty]
public PrintPreviewFormKind PrintPreviewFormKind { get; set; }

Property Value

Type Default Description
PrintPreviewFormKind Ribbon

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
RichEditControlOptionsBase
.Printing .PrintPreviewFormKind

Remarks

The following image 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.

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

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

See Also