Class
HeaderFooterBase

Provides the base functionality for Header and Footer classes.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class HeaderFooterBase

Inheritance: objectHeaderFooterBase

Derived Classes: FooterHeader

Constructors

HeaderFooterBase()

Initializes a new instance of the HeaderFooterBase class.

Declaration

cs-api-definition
protected HeaderFooterBase()

HeaderFooterBase(HeaderFooterBase)

Initializes a new instance of the HeaderFooterBase class.

Declaration

cs-api-definition
protected HeaderFooterBase(HeaderFooterBase headerFooterBase)

Parameters

headerFooterBase

HeaderFooterBase

The HeaderFooterBase to clone.

Properties

Body

Gets or sets the body document.

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public RadDocument Body { get; set; }

Property Value

RadDocument

The body document.

IsEmpty

Gets a value indicating whether header/footer is empty.

Declaration

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

Property Value

bool

true if header/footer is empty; otherwise, false.

IsLinkedToPrevious

Gets or sets a value indicating whether this instance is linked to previous.

Declaration

cs-api-definition
[XamlSerializable(true)]
public bool IsLinkedToPrevious { get; set; }

Property Value

bool

true if this instance is linked to previous; otherwise, false.

Size

Gets the size.

Declaration

cs-api-definition
public SizeF Size { get; }

Property Value

SizeF

Methods

CopyPropertiesFrom(HeaderFooterBase)

Copies the properties from another instance to the current one.

Declaration

cs-api-definition
public void CopyPropertiesFrom(HeaderFooterBase fromElement)

Parameters

fromElement

HeaderFooterBase

The HeaderFooterBase to copy the properties from.

CopyPropertiesFromOverride(HeaderFooterBase)

Copies the properties from another instance to the current one.

Declaration

cs-api-definition
protected virtual void CopyPropertiesFromOverride(HeaderFooterBase fromHeaderFooter)

Parameters

fromHeaderFooter

HeaderFooterBase

The HeaderFooterBase to copy the properties from.

CreateDeepCopy()

Creates a deep copy of the current instance.

Declaration

cs-api-definition
public HeaderFooterBase CreateDeepCopy()

Returns

HeaderFooterBase

The copied object.

CreateInstance()

Creates a new instance.

Declaration

cs-api-definition
public abstract HeaderFooterBase CreateInstance()

Returns

HeaderFooterBase

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 body document is changed.

Declaration

cs-api-definition
public event EventHandler Changed

Event Value

EventHandler