Skip to main content
.NET Framework 4.5.2+

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.v22.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core


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