Skip to main content

MapControl.Colorizer Property

Gets or sets a value specifying the map colorizer (choropleth colorizer or graph colorizer) with which to colorize map shapes.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public MapColorizer Colorizer { get; set; }

Property Value

Type Description
MapColorizer

A MapColorizer class descendant specifying the colorizer type.

Example

To create a political map, it is necessary to use the GraphColorizer class. Perform the following steps to create the map.

  • Provide a required vector map to map control. (To learn how to do this, refer to Providing Data).
  • Create an GraphColorizer object and assign it to the MapControl.Colorizer property.
  • Specify the MapColorizer.Colors collection of the colorizer.
<Map:MapControl.Colorizer>
    <Map:GraphColorizer>
        <Map:GraphColorizer.Colors>
            <Color>#5b9bd5</Color>
            <Color>#ed7d31</Color>
            <Color>#a5a5a5</Color>
            <Color>#ffc000</Color>
            <Color>#4472c4</Color>
            <Color>#70ad47</Color>
        </Map:GraphColorizer.Colors>
    </Map:GraphColorizer>
</Map:MapControl.Colorizer>
See Also