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

CalculatedField(Object, String) Constructor

In This Article

Initializes a new instance of the CalculatedField class with the specified data source and data member.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public CalculatedField(
    object dataSource,
    string dataMember
)

#Parameters

Name Type Description
dataSource Object

A Object, which specifies a field’s data source. This value is assigned to the CalculatedField.DataSource property.

dataMember String

A String value, which specifies a field’s data member. This value is assigned to the CalculatedField.DataMember property.

See Also