private GraphicsOverlay FindGraphicsOverlay(string label)
 {
     return(GraphicsOverlays.FirstOrDefault(go =>
     {
         var rendererLabel = (go.Renderer as SimpleRenderer)?.Label;
         return string.Equals(rendererLabel, label, StringComparison.CurrentCultureIgnoreCase);
     }));
 }
Beispiel #2
0
 private GraphicsOverlay FindGraphicsOverlay(string label)
 {
     return(GraphicsOverlays.FirstOrDefault(go => string.Equals(go.Id, label, StringComparison.CurrentCultureIgnoreCase)));
 }