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.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool PrintPreview { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property PrintPreview As Boolean

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
AdvBandedGridView
.OptionsPrint.PrintPreview
AdvBandedGridView
.OptionsPrint.PrintPreview
BandedGridView
.OptionsPrint.PrintPreview
BandedGridView
.OptionsPrint.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