CalculatedField(String, String, CalculatedFieldType) Constructor

Initializes a new instance of the CalculatedField class.

Namespace: DevExpress.DashboardCommon

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

Syntax

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

Parameters

Type Name Description
String expression

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

String name

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

CalculatedFieldType dataType

A CalculatedFieldType enumeration member specifying the type of the value returned by the calculated field. This value is assigned to the CalculatedField.DataType property.

See Also