windowsforms-devexpress-dot-xtratreemap-dot-sunburstgradientcolorizer-26b14fbc.md
Gets or sets the mode that defines how to distribute a gradient across items.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.dll
NuGet Package : DevExpress.TreeMap
[DefaultValue(GradientColorizerMode.ByGroupLevel)]
[XtraSerializableProperty]
public GradientColorizerMode Mode { get; set; }
<XtraSerializableProperty>
<DefaultValue(GradientColorizerMode.ByGroupLevel)>
Public Property Mode As GradientColorizerMode
| 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.
|
The following table lists available modes:
| Mode | Image | Description |
|---|---|---|
| GradientColorizerMode.ByGroupLevel (default) | 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 | 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
SunburstGradientColorizer Class