Manages a type-safe collection of headers or footers for a Section, coordinating Default, Even, and First instances based on page layout settings.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model
Assembly:Telerik.Windows.Documents.Flow.dll
Type Parameters:
T
Syntax:
public abstract class HeadersFootersBase<T> where T : HeaderFooterBase
Inheritance: objectHeadersFootersBase<T>
Derived Classes:
Methods
Creates and adds a Header or Footer for the specified page type, and returns the new instance.
Visualization of non-default headers or footers depends additionally on and HasDifferentEvenOddPageHeadersFooters properties.
public T Add(HeaderFooterType headerFooterType)
Type of the header or footer.
Returns:T
public void Remove(HeaderFooterType headerFooterType)
Type of the header footer.
Properties
Gets the header or footer displayed on all pages except first and even pages when those are specifically defined.
public T Default { get; }
The default header or footer.
Gets the document containing this header or footer collection.
public RadFlowDocument Document { get; }
The document.
Even
T
Gets the header or footer displayed on even-numbered pages when different even/odd headers are enabled in the document.
Visualization of this header or footer depends additionally on property.
public T Even { get; }
The even header or footer.
Gets the header or footer displayed on the first page of the section when a different first-page header is enabled.
Visualization of this header or footer depends additionally on HasDifferentEvenOddPageHeadersFooters property.
public T First { get; }
The first header or footer.