Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to: Color Tree Map Using Range Colorizer

To color tree map items using the Range Colorizer, do the following.

<dxtm:TreeMapControl.Colorizer>
    <dxtm:TreeMapRangeColorizer 
        RangeStops="1 2 4 8 16 32">
        <dxtm:CustomPalette>
            <Color>#FF5A19</Color>
            <Color>#FEAD2D</Color>
            <Color>#E5E335</Color>
            <Color>#ACE45C</Color>
            <Color>#6EC95C</Color>
        </dxtm:CustomPalette>
    </dxtm:TreeMapRangeColorizer>
</dxtm:TreeMapControl.Colorizer>