Skip to main content

CalculatedField.WrapExpressionToType(String, CalculatedFieldType) Method

Wraps the calculated field’s expression to the conversion function according to the specified CalculatedFieldType.

Namespace: DevExpress.DashboardCommon

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

Declaration

public static string WrapExpressionToType(
    string expression,
    CalculatedFieldType toType
)

Parameters

Name Type Description
expression String

A String that specifies the initial expression.

toType CalculatedFieldType

A CalculatedFieldType enumeration value used to wrap the calculated field’s expression to the required conversion function.

Returns

Type Description
String

A String that specifies the expression wrapped to the specified conversion function.

See Also