I adapted the Legend Example
I changed
Map1.Overlays.Add(adornmentOverlay);
to
Map1.CustomOverlays.Add(adornmentOverlay)
But it causes my map to not display any layers.
a working web sample might help me, or maybe i am adding it to the the wrong overlay( Eg DynamicOverlay)