Skip to main content

CalculatedField(String, String, CalculatedFieldType) Constructor

In This Article

Initializes a new instance of the CalculatedField class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.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