Skip to main content

SunburstGradientColorizer.Mode Property

Gets or sets the mode that defines how to distribute a gradient across items.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v23.2.dll

NuGet Package: DevExpress.TreeMap

Declaration

[DefaultValue(GradientColorizerMode.ByGroupLevel)]
[XtraSerializableProperty]
public GradientColorizerMode Mode { get; set; }

Property Value

Type Default Description
GradientColorizerMode ByGroupLevel

The gradient distribution’s mode.

Available values:

Name Description
ByGroupLevel

Items have an equal color if they belong to the same top-level item. A color’s transparency increases from the top-level items to low-level items.

ByItemIndex

Items in the same group have an equal base color. A color’s transparency increases with increasing an item index in this group.

Remarks

The following table lists available modes:

Mode Image Description
GradientColorizerMode.ByGroupLevel (default) gradient-colorizer-mode-group-level Items have an equal base color if they belong to the same top-level item. A color’s transparency increases from the top-level items to low-level items.
GradientColorizerMode.ByItemIndex gradient-colorizer-mode-by-item-index Items in the same group have an equal base color. A color’s transparency increases on increasing an item index in this group.
See Also