Skip to main content

CalculatedFieldCollection.Add(String) Method

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

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

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