Skip to main content
A newer version of this page is available. .
All docs
V20.2

SunburstPaletteColorizerBase.GetItemBrush(ISunburstSectorInfo) Method

Returns a brush that is applied to the sector.

Namespace: DevExpress.Xpf.TreeMap

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, 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