ClassHeadersFootersBase<T>
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:
Properties
Default
Gets the header or footer displayed on all pages except first and even pages when those are specifically defined.
Declaration
public T Default { get; }
Property Value
T
The default header or footer.
Document
Gets the document containing this header or footer collection.
Declaration
public RadFlowDocument Document { get; }
Property Value
The document.
Even
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.
Declaration
public T Even { get; }
Property Value
T
The even header or footer.
First
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.
Declaration
public T First { get; }
Property Value
T
The first header or footer.
Methods
Add(HeaderFooterType)
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.
Declaration
public T Add(HeaderFooterType headerFooterType)
Parameters
headerFooterType
Type of the header or footer.
Returns
T
Remove(HeaderFooterType)
Declaration
public void Remove(HeaderFooterType headerFooterType)
Parameters
headerFooterType
Type of the header footer.