Skip to main content
.NET Framework 4.5.2+

HeaderFooterType Enum

Lists the header (footer) types.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


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.

See Also