Hi v,
At version 4.0 , we don't have built-in Legend, but you can create a LegendAdornmentLayer to implement like that.
I attached a sample code which you can look at, it's just a sample that maybe nor perfect but can lead you to learn how to create your own legend. And the user code is like below:
LegendAdornmentLayer legendAdornmentLayer = new LegendAdornmentLayer(10.0f, 10.0f, Map.Overlays);
legendAdornmentLayer.Name = "Legend";
Map.AdornmentOverlay.Layers.Add(legendAdornmentLayer);
Please let me know if you have questions
Thanks
James
LegendAdornmentLayer.cs (8.47 KB)