XtraReport.DisplayName Property

Gets or sets the report's display name. If the name is not empty, it serves as the default name of the exported document and appears in the End-User Designer's report tab. Otherwise, the value of the report's Name property is used as a display name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll


public string DisplayName { get; set; }
Public Property DisplayName As String

Property Value

Type Default Description


The report's display name.


The image below shows how the DisplayName property appears in the End-User Designer.



The code sample below creates a new report, sets its name, display name, paper kind and margins, and adds the Detail Band band with the XRLabel control on it.


using DevExpress.XtraReports.UI;

// ...

public static XtraReport CreateReport() {

    // Create an XtraReport instance
    XtraReport report = new XtraReport() {
        Name = "SimpleStaticReport",
        DisplayName = "Simple Static Report",
        PaperKind = PaperKind.Letter,
        Margins = new Margins(100, 100, 100, 100)

    // Create a Detail band for the report
    DetailBand detailBand = new DetailBand() {
        HeightF = 25

    // Add the created Detail band to the report

    // Create an XRLabel control for the report
    XRLabel helloWordLabel = new XRLabel() {
        Text = "Hello, World!",
        Font = new Font("Tahoma", 20f, FontStyle.Bold),
        BoundsF = new RectangleF(0, 0, 250, 50),

    // Add the created XRLabel to the Detail band

    // Return the report with a band and a label on it
    return report;
See Also