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.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
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