Skip to main content

XlHeaderFooter.OddHeader Property

Gets or sets the text to be displayed in the header of odd-numbered pages.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public string OddHeader { get; set; }

Property Value

Type Description
String

A String object that specifies the header for odd-numbered pages.

Remarks

If the XlHeaderFooter.DifferentOddEven property is set to true, the OddHeader property allows you to set the header content for odd-numbered pages. Otherwise, these settings are used for all pages in a worksheet (both for even-numbered and odd-numbered pages).

If the XlHeaderFooter.DifferentFirst property is set to false (default value), the first page has the same header as other odd-numbered pages.

The following code snippets (auto-collected from DevExpress Examples) contain references to the OddHeader property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also