Back to Devexpress

SunburstGradientColorizer.Mode Property

windowsforms-devexpress-dot-xtratreemap-dot-sunburstgradientcolorizer-26b14fbc.md

latest2.5 KB
Original Source

SunburstGradientColorizer.Mode Property

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

Declaration

csharp
[DefaultValue(GradientColorizerMode.ByGroupLevel)]
[XtraSerializableProperty]
public GradientColorizerMode Mode { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(GradientColorizerMode.ByGroupLevel)>
Public Property Mode As GradientColorizerMode

Property Value

TypeDefaultDescription
GradientColorizerModeByGroupLevel

The gradient distribution’s mode.

|

Available values:

NameDescription
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:

ModeImageDescription
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.ByItemIndexItems in the same group have an equal base color. A color’s transparency increases on increasing an item index in this group.

See Also

Colorizers

SunburstGradientColorizer Class

SunburstGradientColorizer Members

DevExpress.XtraTreeMap Namespace