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.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnlinkHeaderFromPrevious() method.
Note
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.