Skip to main content

Section.LinkHeaderToPrevious(HeaderFooterType) Method

Establishes a link to the previous section’s header of the specified type so that they have the same content.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation


void LinkHeaderToPrevious(
    HeaderFooterType type


Name Type Description
type HeaderFooterType

A HeaderFooterType enumeration member specifying the type of the header.


You can use the Section.UnlinkHeaderFromPrevious method to break the link, and the Section.IsHeaderLinkedToPrevious method to tell whether such a link exists. The ToggleHeaderFooterLinkToPreviousCommand can also be utilized for linking/unlinking, but it is not available for the RichEditDocumentServer.

See Also