Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewPrintOptionsBase.RtfReportHeader Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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.

See Also