Skip to main content

HeaderFooterType Enum

Lists the header (footer) types.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

[ComVisible(true)]
public enum HeaderFooterType

Members

Name Description
First

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

Odd

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

Even

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

Primary

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.

Remarks

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