Skip to main content

GridOptionsPrint.PrintPreview Property

Gets or sets whether to display the preview sections in the print/export output.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool PrintPreview { get; set; }

Property Value

Type Default Description
Boolean false

true to print preview/export sections; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to PrintPreview
GridView
.OptionsPrint .PrintPreview

Remarks

If the PrintPreview property value is true, preview sections are displayed in the print/export output regardless of their actual visibility within the View (i.e. regardless of the GridOptionsView.ShowPreview option value).

See Also