.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

HeaderFooterType Enum

Lists the header (footer) types.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

[ComVisible(true)]
public enum HeaderFooterType
<ComVisible(True)>
Public Enum HeaderFooterType
[ComVisible(true)]
public enum HeaderFooterType
<ComVisible(True)>
Public Enum HeaderFooterType
[ComVisible(true)]
public enum HeaderFooterType
<ComVisible(True)>
Public Enum HeaderFooterType

Members

Name Description
Even

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

First

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

Odd

A header/footer displayed on odd 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