Skip to main content

DiagramControl.PrintPageBackgroundTemplate Property

Gets or sets the template that specifies the background of a printed page. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v23.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public DataTemplate PrintPageBackgroundTemplate { get; set; }

Property Value

Type Description

A DataTemplate object that specifies the background of a printed page.


Use the PrintPageBackgroundTemplate property to specify a custom printed page background.

The background specified by the DiagramControl.DiagramPageBackgroundTemplate property is printed on top of the printed page background.


To specify a custom page background for the application, use the DiagramControl.DiagramPageBackgroundTemplate property.

See Also