New to Telerik Document ProcessingStart a free 30-day trial

Manages the text content of a header or footer, divided into left, center, and right sections.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Printing

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class HeaderFooterContent

Inheritance: objectHeaderFooterContent

Methods

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

Gets the center-aligned section of the header or footer for displaying content in the middle.

C#
public HeaderFooterSection CenterSection { get; }
Property Value:

The center section.

Gets whether the combined content of all sections is within the 255-character limit required for export.

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

Value indicating whether the length of the content is valid.

Gets the left-aligned section of the header or footer for displaying content on the left side.

C#
public HeaderFooterSection LeftSection { get; }
Property Value:

The left section.

Gets the right-aligned section of the header or footer for displaying content on the right side.

C#
public HeaderFooterSection RightSection { get; }
Property Value:

The right section.