MapColorizer.Colors Property

Provides access to the collection of colors with which to colorize map shapes.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v18.1.dll

Declaration

public ColorCollection Colors { get; set; }
Public Property Colors As ColorCollection

Property Value

Type Description
ColorCollection

A ColorCollection object that contains colors to colorize map shapes.

Examples

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

<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>