<esri:GraphicsLayer ID=" MyGraphicsLayer1" /> GraphicsLayer graphicsLayer1 = Map.Layers["MyGraphicsLayer1"] as GraphicsLayer;