Skip to main content

CalculatedField(String, String, String, CalculatedFieldType) Constructor

Initializes a new instance of the CalculatedField class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public CalculatedField(
    string dataMember,
    string expression,
    string name,
    CalculatedFieldType dataType
)

Parameters

Name Type Description
dataMember String

A String that specifies the data member. This value is assigned to the CalculatedField.DataMember property.

expression String

A String that specifies the expression of the calculated field. This value is assigned to the CalculatedField.Expression property.

name String

A String that specifies the name of the calculated field. This value is assigned to the CalculatedField.Name property.

dataType CalculatedFieldType

A CalculatedFieldType enumeration member specifying the type of the value returned by the calculated field.

See Also