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

PrintingOptions.PrintPreviewFormKind Property

Specifies the user interface of the Print Preview form.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v18.2.Core.dll

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:

Library Object Type Path to PrintPreviewFormKind
WinForms Controls SnapControlOptions
.Printing.PrintPreviewFormKind
RichEditControlOptions
.Printing.PrintPreviewFormKind
WPF Controls RichEditControlOptions
.Printing.PrintPreviewFormKind
Office File API 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