Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SunburstGradientColorizer.Mode Property

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

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.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