XtraReportBase.FromDisplayName(String) Method
In This Article
Obtains the real name of a data field, based on the field’s display name.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
display |
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