Measure(String, SummaryType) Constructor

Initializes a new instance of the Measure class, binds it to the specified data member and sets the summary type to the specified value.

Namespace: DevExpress.DashboardCommon

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

Declaration

public Measure(
    string dataMember,
    SummaryType summaryType
)

Parameters

Name Type Description
dataMember String

A String that identifies the data item to which this Measure should be bound. This value is assigned to the DataItem.DataMember property.

summaryType SummaryType

A SummaryType enumeration member that specifies the summary function type. This value is assigned to the Measure.SummaryType property.

Remarks

The data member identifier consists of the data table name and the column name, dot separated. For instance, the Street Address column from the Customers table is identified as “Customers.Street Address”.

If a data source has been specified in code, particular data fields can be custom objects. In this instance, the identifier is a chain of property names, like “Customers.City.Population”.

See Also