windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsprint-512de163.md
Gets or sets whether to display the view footer in the print/export output. Supports WYSIWYG and Data-aware export mode.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool PrintFooter { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property PrintFooter As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to print/export the View footer; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to PrintFooter |
|---|---|
| GridView |
.OptionsPrint .PrintFooter
|
If the PrintFooter option is enabled, the View footer is displayed at the bottom of the last page in the print/export output.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintFooter property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-print-custom-draw-content/CS/MyXtraGrid/MyGridView/MyGridViewPrintInfo.cs#L31
{
if (!View.OptionsPrint.PrintFooter) return;
foreach (PrintColumnInfo colInfo in Columns)
winforms-grid-print-custom-draw-content/VB/MyXtraGrid/MyGridView/MyGridViewPrintInfo.vb#L28
Private Sub CustomDrawFooterCells(ByVal graph As IBrickGraphics)
If Not View.OptionsPrint.PrintFooter Then
Return
See Also