The requested page is not available for the requested platform. You are viewing the content for Default platform.

CalculatedField(String, String, String, CalculatedFieldType) Constructor

Initializes a new instance of the CalculatedField class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

public CalculatedField(
    string dataMember,
    string expression,
    string name,
    CalculatedFieldType dataType
)
Public Sub New(
    dataMember As String,
    expression As String,
    name As String,
    dataType As CalculatedFieldType
)

Parameters

Name Type Description
dataMember String

A String that specifies the data member. This value is assigned to the CalculatedField.DataMember property.

expression String

A String that specifies the expression of the calculated field. This value is assigned to the CalculatedField.Expression property.

name String

A String that specifies the name of the calculated field. This value is assigned to the CalculatedField.Name property.

dataType CalculatedFieldType

A CalculatedFieldType enumeration member specifying the type of the value returned by the calculated field. This value is assigned to the CalculatedField.DataType property.

See Also