A newer version of this page is available.
Switch to the current version.
ColorScaleLegend Class
A color legend represented as a color scale.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v18.2.dll
Declaration
public class ColorScaleLegend :
ColorLegend
Public Class ColorScaleLegend
Inherits ColorLegend
Examples
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
Extension Methods
See Also
Feedback