Class
HeadersFootersBase<T>

Provides the base functionality for Headers and Footers classes.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Type Parameters:

T

Should be Header or Footer.

Syntax:

cs-api-definition
public abstract class HeadersFootersBase<T> where T : HeaderFooterBase, new()

Inheritance: objectHeadersFootersBase<T>

Derived Classes: FootersHeaders

Constructors

HeadersFootersBase()

Initializes a new instance of the HeadersFootersBase<T> class.

Declaration

cs-api-definition
protected HeadersFootersBase()

Properties

Default

Gets or sets the default (odd) page header/footer.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public T Default { get; set; }

Property Value

T

The default (odd) page header/footer.

Even

Gets or sets the even page header/footer.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public T Even { get; set; }

Property Value

T

The even page header/footer.

First

Gets or sets the first page header/footer.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public T First { get; set; }

Property Value

T

The first page header/footer.

IsEmpty

Gets a value indicating whether documents in First, Default and Even are empty.

Declaration

cs-api-definition
public bool IsEmpty { get; }

Property Value

bool

true if documents in First, Default and Even are empty; otherwise, false.

Methods

CopyPropertiesFrom(HeadersFootersBase<T>)

Copies the properties from another instance to the current one.

Declaration

cs-api-definition
public void CopyPropertiesFrom(HeadersFootersBase<T> fromHeadersFootersBase)

Parameters

fromHeadersFootersBase

HeadersFootersBase<T>

The object to copy the properties from.

CreateDeepCopy()

Creates a deep copy of the current instance.

Declaration

cs-api-definition
public HeadersFootersBase<T> CreateDeepCopy()

Returns

HeadersFootersBase<T>

The copied object.

CreateInstance()

Creates a new instance.

Declaration

cs-api-definition
public abstract HeadersFootersBase<T> CreateInstance()

Returns

HeadersFootersBase<T>

The new instance.

OnChanged(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnChanged(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Events

Changed

Occurs when header/footer is changed.

Declaration

cs-api-definition
public event EventHandler Changed

Event Value

EventHandler