Skip to main content

ViewPrintOptionsBase.RtfReportHeader Property

Gets or sets a document/report header, in rich text format.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

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

Property Value

Type Default Description
String String.Empty

A document/report header, in rich text format.

Property Paths

You can access this nested property as listed below:

Object Type Path to RtfReportHeader
BaseView
.OptionsPrint .RtfReportHeader

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