Skip to main content

ColorSchemeDimensionKey(DimensionDefinition, Object) Constructor

Initializes a new instance of the ColorSchemeDimensionKey class.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public ColorSchemeDimensionKey(
    DimensionDefinition dimensionDefinition,
    object value
)

#Parameters

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.

#Remarks

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

See Also