Skip to main content

Dimension(String, String, TextGroupInterval) Constructor

Initializes a new instance of the Dimension class with the specified identifier, binds it to the specified data member and sets the group interval for textual values to the specified value.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public Dimension(
    string id,
    string dataMember,
    TextGroupInterval textGroupInterval


Name Type Description
id String

A String that specifies the dimension identifier. This value is assigned to the DataItem.ID property.

dataMember String

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

textGroupInterval TextGroupInterval

A TextGroupInterval enumeration member that specifies the group interval for textual values. This value is assigned to the Dimension.TextGroupInterval property.


The Dimension identifier passed via the id parameter is used to refer to this dimension in dashboard item filter criteria specified via the DataDashboardItem.FilterString property.

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