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

SchedulerOptionsPrint.PrintPreviewFormKind Property

Specifies the user interface of the Print Preview form.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

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

#Property Value

Type Default Description
PrintPreviewFormKind Bars

A PrintPreviewFormKind enumeration value.

Available values:

Name Description
Ribbon

The Print Preview form with the Ribbon user interface.

Bars

The Print Preview form with the Bars user interface.

#Property Paths

You can access this nested property as listed below:

Object Type Path to PrintPreviewFormKind
SchedulerControl
.OptionsPrint .PrintPreviewFormKind

#Remarks

The following image illustrate the default Print Preview form with bar user interface. This is the default form that is displayed when calling the SchedulerControl.ShowPrintPreview method.

PrintPreviewBars

To invoke the Print Preview form with the Ribbon user interface, set the PrintPreviewFormKind property to PrintPreviewFormKind.Ribbon. The form looks as follows:

PrintPreviewRibbon

See Also