Skip to main content
All docs
V24.1

SunburstPaletteColorizerBase.GetItemBrush(ISunburstSectorInfo) Method

Returns a brush that is applied to the sector.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v24.1.dll

NuGet Package: DevExpress.Wpf.TreeMap

Declaration

public override Brush GetItemBrush(
    ISunburstSectorInfo item
)

Parameters

Name Type Description
item DevExpress.Xpf.TreeMap.ISunburstSectorInfo

Contains information about the Sunburst sector.

Returns

Type Description
Brush

A brush that is applied to the sector.

Remarks

The following code creates and applies a custom colorizer to a Sunburst chart.

<dxtm:SunburstControl>
    <dxtm:SunburstControl.Colorizer>
        <local:ChemicalElementColorizer />
    </dxtm:SunburstControl.Colorizer>
</dxtm:SunburstControl>    

Run Demo

See Also