ColorScaleLegend Class
A color legend represented as a color scale.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v20.1.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, DevExpress.Wpf.Map
Declaration
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-colorize-map-contours-loaded-from-shapefiles-using-the-choropleth-colorizer-e4587.
<dxm:MapControl.Legends>
<dxm:ColorScaleLegend Layer="{Binding ElementName=mapLayer}" Header="GDP By Countries"
Description="In US dollars." RangeStopsFormat="0,B" MinWidth="550"/>
</dxm:MapControl.Legends>
Inheritance
See Also