Skip to main content

CalculatedField(Object, String) Constructor

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.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