ColorListLegend Class
A color legend represented as a list of colors.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v18.2.dll
Declaration
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/wpf-mapcontrol-getting-started-lesson-3-add-analytical-data-to-a-geographical-map-t177876.
<dxm:MapControl.Legends>
<dxm:SizeLegend Header="Medal Count" Layer="{Binding ElementName=vectorLayer}"/>
<dxm:ColorListLegend Header="Medal Class" Layer="{Binding ElementName=vectorLayer}"/>
</dxm:MapControl.Legends>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ColorListLegend class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Inheritance
Extension Methods
See Also