Skip to main content

XtraReportBase.FromDisplayName(String) Method

Obtains the real name of a data field, based on the field’s display name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public string FromDisplayName(
    string displayName
)

Parameters

Name Type Description
displayName String

A String value.

Returns

Type Description
String

A String value.

Example

This example illustrates the use of the XtraReportBase.FromDisplayName method.

private void label1_BeforePrint(object sender, System.ComponentModel.EventArgs e) {
    label1.Text = string.Format("Text : {0}", 
        GetCurrentColumnValue(Report.FromDisplayName("Field Display Name")));
}
See Also