Back to Devexpress

GridOptionsPrint.PrintPreview Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsprint-6453ad35.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

ShowPreview

PreviewFieldName

GridOptionsPrint Class

GridOptionsPrint Members

DevExpress.XtraGrid.Views.Grid Namespace