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

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.2.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