protected virtual void DefaultDrawingELayerFromXml(XElement root) { XElement parent = root.Descendants().First(); if (parent.Name != "DefaultDrawingELayer") { return; } XElement node = parent.Descendants().First(); IGraphicCollection graphics = GraphicsSerializer.GraphicsFromXml(node); if (graphics == null) { return; } IGraphicsLayer gLayer = DefaultDrawingELayer.GraphicsLayer; _view.AddGraphics(gLayer, graphics); }