Skip to main content

ColorSchemeDimensionKey(DimensionDefinition, Object) Constructor

Initializes a new instance of the ColorSchemeDimensionKey class.

Namespace: DevExpress.DashboardCommon

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

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


public ColorSchemeDimensionKey(
    DimensionDefinition dimensionDefinition,
    object value


Name Type Description
dimensionDefinition DimensionDefinition

A DimensionDefinition object that specifies a dimension definition. This values is assigned to the ColorSchemeDimensionKey.DimensionDefinition property.

value Object

A dimension value. This value is assigned to the ColorSchemeDimensionKey.Value property.


Use the Dimension.GetDimensionDefinition method to obtain the dimension definition and pass the returned object to the ColorSchemeDimensionKey constructor.

See Also