Skip to main content
.NET Framework 4.5.2+

Section.UnlinkHeaderFromPrevious() Method

Breaks the link of the current section’s header to the header of the previous section so that it can hold different content.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


void UnlinkHeaderFromPrevious()


The UnlinkHeaderFromPrevious method without parameters defaults to the HeaderFooterType.Odd header type, according to the standard.

You can also use the ToggleHeaderFooterLinkToPreviousCommand command to break or establish header links to the previous section, but it is not available for the RichEditDocumentServer.

The Section.IsHeaderLinkedToPrevious method indicates whether the link exists.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnlinkHeaderFromPrevious() method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also