Page Header and Footer

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Report Designer > Report Designer for WinForms > Report Designer Reference > Report Bands >

Page Header and Footer

Interface Elements for Desktop > Report Designer > Report Designer for WinForms > Report Designer Reference > Report Bands > Page Header and Footer

The Page Header and Page Footer bands are located at the top and bottom of every page in a report.

img8303

The Page Header/Footer bands are the best place for information that should be printed on every page. For example, use them to display the header of a table which is continued from the previous page (an example can be found at the Table Report tutorial).

Note

If you insert page break right after the Report Header (by setting its Page Break to After the Band), the Page Footer and Page Header bands will not be printed on the first page.

In the Property Grid, the properties of these bands are divided into the following groups.

ExpandedCollapsed Appearance

Background Color

Specifies the background color for the controls contained within the band. This option is also available in the Formatting Toolbar (img8441).

Borders, Border Color, Border Dash Style and Border Width

Specify border settings for the controls contained within the band.

Font

Specifies the font settings for the controls contained within the band. Some of these settings are available in the Formatting Toolbar.

Foreground Color

Specifies the text color for the controls contained within the band. This option is also available in the Formatting Toolbar (img8440).

Formatting Rules

Invokes the Formatting Rules Editor, allowing you to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. To learn more on this, refer to Conditionally Change a Control's Appearance.

Padding

Specifies indent values which are used to render the contents of the controls contained within the bands.

Style Priority

Allows you to define the priority of various style elements (such as background color, border color, etc.). For more information on style inheritance, refer to Understanding Style Concepts.

Styles

This property allows you to define odd and even styles for the controls contained within the bands, as well as to assign an existing style to them (or a newly created one). For more information on style inheritance, refer to Understanding Style Concepts.

Text Alignment

Allows you to change the text alignment of the controls contained within the bands. This option is also available in the Formatting Toolbar.

ExpandedCollapsed Behavior

Print On

This property specifies whether the band should be printed on the same page with Report Header and Report Footer bands.

Scripts

This property contains events, which you can handle with the required scripts. For more information on scripting, refer to Handle Events via Scripts.

Visible

Specifies whether the band should be visible in print preview.

ExpandedCollapsed Data

Tag

This property allows you to add some additional information to the band; for example its id, by which it can then be accessible via scripts.

ExpandedCollapsed Design

(Name)

Determines a band's name, by which it can be accessed in the Report Explorer, Property Grid or via scripts.

ExpandedCollapsed Layout

Height

Specifies the band's height, in report units.

Snap Line Padding

Specifies the padding (in report measurement units), which is to be preserved within the band when controls it contains are aligned using Snap Lines.

ExpandedCollapsed Structure

Sub-Bands

Provides access to the band's collection of sub-bands.

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.