The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRPageInfo.PageInfo Property

Gets or sets the value of the PageInfo type.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[DefaultValue(PageInfo.NumberOfTotal)]
[SRCategory(ReportStringId.CatBehavior)]
public PageInfo PageInfo { get; set; }
<DefaultValue(PageInfo.NumberOfTotal)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property PageInfo As PageInfo

Property Value

Type Default Description
PageInfo

NumberOfTotal

A PageInfo enumeration value that determines the auxiliary information (date, page number etc.) displayed on each report page.

Remarks

The information defined by the PageInfo enumeration is displayed in the PageInfoBrick object.

Examples

The following method demonstrates how to create an XRPageInfo object, and set its properties.

using System.Drawing;
using DevExpress.XtraPrinting;
using DevExpress.XtraReports.UI;
// ...

public XRPageInfo CreateXRPageInfo() {
   // Create an XRPageInfo object.
   XRPageInfo pageInfo1 = new XRPageInfo();

   // Set its size.
   pageInfo1.SizeF = new SizeF(200F, 50F);

   // Set its background color.
   pageInfo1.BackColor = Color.PaleGreen;

   // Set its data format.
   pageInfo1.PageInfo = PageInfo.DateTime;
   pageInfo1.Format = "{0:MM/dd/yyyy}";

   return pageInfo1;
}
See Also