Skip to main content

CalculatedFieldCollection.Add(String, String, String) Method

Adds a new calculated field to the CalculatedFieldCollection collection

Namespace: DevExpress.DashboardCommon

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

Declaration

public CalculatedField Add(
    string dataMember,
    string expression,
    string name
)

Parameters

Name Type Description
dataMember String

A String that specifies the data member.

expression String

A String that specifies the expression of the calculated field.

name String

A String that specifies the name of the calculated field.

Returns

Type Description
CalculatedField

A CalculatedField object representing the newly created calculated field.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(String, String, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also