New to Telerik UI for WPFStart a free 30-day trial

Provides the base functionality for Header and Footer classes.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public abstract class HeaderFooterBase

Inheritance: objectHeaderFooterBase

Derived Classes: FooterHeader

Constructors

Initializes a new instance of the HeaderFooterBase class.

C#
protected HeaderFooterBase()

Initializes a new instance of the HeaderFooterBase class.

C#
protected HeaderFooterBase(HeaderFooterBase headerFooterBase)
Parameters:headerFooterBaseHeaderFooterBase

The HeaderFooterBase to clone.

Properties

Gets or sets the body document.

C#
[XamlCompositePropertySerializable]
public RadDocument Body { get; set; }
Property Value:

The body document.

Gets a value indicating whether header/footer is empty.

C#
public virtual bool IsEmpty { get; }
Property Value:

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

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

C#
[XamlSerializable(true)]
public bool IsLinkedToPrevious { get; set; }
Property Value:

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

Gets the size.

C#
public SizeF Size { get; }

Methods

Copies the properties from another instance to the current one.

C#
public void CopyPropertiesFrom(HeaderFooterBase fromElement)
Parameters:fromElementHeaderFooterBase

The HeaderFooterBase to copy the properties from.

Copies the properties from another instance to the current one.

C#
protected virtual void CopyPropertiesFromOverride(HeaderFooterBase fromHeaderFooter)
Parameters:fromHeaderFooterHeaderFooterBase

The HeaderFooterBase to copy the properties from.

Creates a deep copy of the current instance.

C#
public HeaderFooterBase CreateDeepCopy()
Returns:

HeaderFooterBase

The copied object.

Creates a new instance.

C#
public abstract HeaderFooterBase CreateInstance()
Returns:

HeaderFooterBase

The new instance.

Raises the event.

C#
protected virtual void OnChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Events

Occurs when header/footer body document is changed.

C#
public event EventHandler Changed