Back to Devexpress

TemplatedLink.PageFooterTemplate Property

wpf-devexpress-dot-xpf-dot-printing-dot-templatedlink-7cd1763e.md

latest3.8 KB
Original Source

TemplatedLink.PageFooterTemplate Property

Specifies the page footer template for the document.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public DataTemplate PageFooterTemplate { get; set; }
vb
Public Property PageFooterTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object.

|

Remarks

Use the PageFooterTemplate and TemplatedLink.PageHeaderTemplate properties, to specify templates for the document page footer and header areas.

For more information, see Printing Links.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PageFooterTemplate 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.

wpf-data-grid-add-page-headers-and-footers-to-exported-data/CS/GridPrint/Window1.xaml.cs#L35

csharp
link.PageHeaderTemplate = (DataTemplate)Resources["PageHeader"];
link.PageFooterTemplate = (DataTemplate)Resources["PageFooter"];
link.ExportToPdf("GridExport.pdf");

reporting-wpf-stretch-detail-area-to-fill-the-page/CS/Window1.xaml.cs#L15

csharp
link.PageHeaderTemplate = (DataTemplate)Resources["pageHeader"];
link.PageFooterTemplate = (DataTemplate)Resources["pageFooter"];
link.ShowPrintPreviewDialog(this);

wpf-data-grid-add-page-headers-and-footers-to-exported-data/VB/GridPrint/Window1.xaml.vb#L43

vb
link.PageHeaderTemplate = CType(Resources("PageHeader"), DataTemplate)
link.PageFooterTemplate = CType(Resources("PageFooter"), DataTemplate)
link.ExportToPdf("GridExport.pdf")

reporting-wpf-stretch-detail-area-to-fill-the-page/VB/Window1.xaml.vb#L17

vb
link.PageHeaderTemplate = CType(Resources("pageHeader"), DataTemplate)
link.PageFooterTemplate = CType(Resources("pageFooter"), DataTemplate)
link.ShowPrintPreviewDialog(Me)

See Also

PageHeaderTemplate

TemplatedLink Class

TemplatedLink Members

DevExpress.Xpf.Printing Namespace