CalculatedFieldCollection.Add(String) Method

Adds a new calculated field with the specified expression to the CalculatedFieldCollection collection.

Namespace: DevExpress.DashboardCommon

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

Declaration

public CalculatedField Add(
    string expression
)

Parameters

Name Type Description
expression String

A String that specifies the expression of the calculated field. Initializes the calculated field’s CalculatedField.Expression property.

Returns

Type Description
CalculatedField

A CalculatedField object representing the newly created calculated field.

See Also