CalculatedFieldCollection.Add(String, String, CalculatedFieldType) Method
Adds a new calculated field with the specified expression, name and type to the CalculatedFieldCollection collection.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
public CalculatedField Add(
string expression,
string name,
CalculatedFieldType dataType
)
#Parameters
Name | Type | Description |
---|---|---|
expression | String | A String that specifies the expression of the calculated field. Initializes the calculated field’s Calculated |
name | String | A String that specifies the name of the calculated field. Initializes the calculated field’s Calculated |
data |
Calculated |
A Calculated |
#Returns
Type | Description |
---|---|
Calculated |
A Calculated |