Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

HeaderFooterType Enum

Lists the header (footer) types.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


public enum HeaderFooterType


Name Description

A header/footer displayed on the first page of the section.


A header/footer displayed on odd pages of the section.


A header/footer displayed on even pages of the section.


A header/footer that is displayed on all pages of the section if the document does not distinguish between first, odd and even pages (Document.DifferentOddAndEvenPages and Section.DifferentFirstPage properties are false). Actually, this is an alias for the HeaderFooterType.Odd type.


The header (or footer) can be different for odd pages, even pages or the first page. To switch display modes, use the ToggleDifferentFirstPageCommand and ToggleDifferentOddAndEvenPagesCommand commands. To enter header (footer) editing mode, use the EditPageHeaderCommand or the EditPageFooterCommand commands. You can also use the Section.BeginUpdateHeader - Section.EndUpdateHeader or the Section.BeginUpdateFooter - Section.EndUpdateFooter method pairs to create and modify the header/footer programmatically.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HeaderFooterType enum.


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.

See Also