Skip to main content
A newer version of this page is available. .

CalculatedField.DataType Property

Gets or sets the type of the value returned by the calculated field.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

[Browsable(false)]
[DefaultValue(CalculatedFieldType.Auto)]
public CalculatedFieldType DataType { get; set; }

Property Value

Type Default Description
CalculatedFieldType **Auto**

A CalculatedFieldType enumeration member specifying the type of the value returned by the calculated field.

Remarks

The DataType property specifies the type of value (Boolean, DateTime, String, etc.) returned by a calculated field after evaluating its expression, specified via the CalculatedField.Expression property.

Use the CalculatedField.Name property to specify the calculated field’s name.

See Also