Skip to main content

CalculatedField(String, String, CalculatedFieldType) Constructor

Initializes a new instance of the CalculatedField class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

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

Parameters

Name Type Description
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