.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Section.IsHeaderLinkedToPrevious(HeaderFooterType) Method

Indicates whether the header of the specified type for the current section is linked to the header of the previous section so that they have the same content.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

bool IsHeaderLinkedToPrevious(
    HeaderFooterType type
)

Parameters

Name Type Description
type HeaderFooterType

A HeaderFooterType enumeration member specifying the type of the header.

Returns

Type Description
Boolean

true if the header of the specified type is linked to the header of the previous section; otherwise, false.

Remarks

You can use the Section.LinkHeaderToPrevious and the Section.UnlinkHeaderFromPrevious methods to establish a link.

The ToggleHeaderFooterLinkToPreviousCommand command can also be utilized for this purpose, but it is unavailable in RichEditDocumentServer.

See Also