Skip to main content

ViewPrintOptionsBase.RtfPageHeader Property

Gets or sets a page header, in rich text format.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
public virtual string RtfPageHeader { get; set; }

Property Value

Type Default Description
String String.Empty

A page header, in rich text format.

Property Paths

You can access this nested property as listed below:

Object Type Path to RtfPageHeader
BaseView
.OptionsPrint .RtfPageHeader

Remarks

See ViewPrintOptionsBase.RtfPageFooter, to learn more.

Example

The following animation shows how to insert the current date to the report header and then change the formatting settings to display the time portion along with the date.

RtfFooter-XtraGrid

See Also