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

Provides the base functionality for Headers and Footers classes.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Type Parameters:

T

Should be Header or Footer.

Syntax:

C#
public abstract class HeadersFootersBase<T> where T : HeaderFooterBase, new()

Inheritance: objectHeadersFootersBase<T>

Derived Classes: FootersHeaders

Constructors

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

C#
protected HeadersFootersBase()

Properties

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

C#
[XamlCompositePropertySerializable]
public T Default { get; set; }
Property Value:

The default (odd) page header/footer.

Gets or sets the even page header/footer.

C#
[XamlCompositePropertySerializable]
public T Even { get; set; }
Property Value:

The even page header/footer.

Gets or sets the first page header/footer.

C#
[XamlCompositePropertySerializable]
public T First { get; set; }
Property Value:

The first page header/footer.

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

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

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

Methods

Copies the properties from another instance to the current one.

C#
public void CopyPropertiesFrom(HeadersFootersBase<T> fromHeadersFootersBase)
Parameters:fromHeadersFootersBaseHeadersFootersBase<T>

The object to copy the properties from.

Creates a deep copy of the current instance.

C#
public HeadersFootersBase<T> CreateDeepCopy()
Returns:

HeadersFootersBase<T>

The copied object.

Creates a new instance.

C#
public abstract HeadersFootersBase<T> CreateInstance()
Returns:

HeadersFootersBase<T>

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

C#
public event EventHandler Changed