Back to Devexpress

GradientColorizerMode Enum

wpf-devexpress-dot-xpf-dot-treemap-965666b9.md

latest2.0 KB
Original Source

GradientColorizerMode Enum

Lists values that specify how a color gradient is applied across sectors.

Namespace : DevExpress.Xpf.TreeMap

Assembly : DevExpress.Xpf.TreeMap.v25.2.dll

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public enum GradientColorizerMode
vb
Public Enum GradientColorizerMode

Members

NameDescriptionImage
ByGroupLevel

Sectors have the same color if they belong to the same top-level sector. A color’s transparency increases from the top-level sectors to low-level sectors.

|

| | ByItemIndex |

Sectors in the same group have the same base color. A color’s transparency increases with higher indexes in this group.

|

|

The following properties accept/return GradientColorizerMode values:

Example

The following code configures and applies a SunburstGroupGradientColorizer to a Sunburst chart:

xaml
<dxtm:SunburstControl>
    <dxtm:SunburstGroupGradientColorizer Mode="ByItemIndex" 
                                         Max="1" Min="0.6" 
                                         GradientColor="Black">
        <dxtm:SunburstGroupGradientColorizer.Palette>
            <dxtm:NorthernLightsPalette/>
        </dxtm:SunburstGroupGradientColorizer.Palette>
    </dxtm:SunburstGroupGradientColorizer>
</dxtm:SunburstControl>

See Also

DevExpress.Xpf.TreeMap Namespace