Skip to main content

XtraReportBase.GetNextColumnValue<T>(String) Method

Gets the next value (strongly typed) of the specified column in the report’s XtraReportBase.DataSource.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public T GetNextColumnValue<T>(
    string columnName
)

Parameters

Name Type Description
columnName String

A String value, specifying the name of the column whose value to be obtained.

Type Parameters

Name
T

Returns

Type Description
T

A <T> object that corresponds to the next value of the specified column in the data source. If the specified column was not found, this method returns null (Nothing in Visual Basic).

Remarks

Use the GetNextColumnValue<T>, XtraReportBase.GetPreviousColumnValue<T> and XtraReportBase.GetCurrentColumnValue<T> methods to determine the value of the specified data column when creating a report, for example, in the XRControl.BeforePrint event handler.

See Also