src/Misc/EFTools/XmlCore/Core/Context/EditingContext.cs
/// <summary>
///     Called when the user removes a layer.
/// </summary>
/// <param name="layer"></param>
Called when the user removes a layer.
Called when the user removes a layer .
private void OnLayerRemoved(DefaultContextLayer layer)
            {
                if (_currentLayer == layer)
                {
                    _currentLayer = layer.ParentLayer;
                }
                else
                {
                    var childLayer = FindChildLayer(layer);
                    if (childLayer != null)
                    {
                        childLayer.ParentLayer = layer.ParentLayer;
                    }
                }
            }
private void OnLayerRemoved ( DefaultContextLayer layer ) { if ( _currentLayer == layer ) { _currentLayer = layer . ParentLayer ; } else { var childLayer = FindChildLayer ( layer ) ; if ( childLayer != null ) { childLayer . ParentLayer = layer . ParentLayer ; } } }
Called when the user removes a layer.
Called when the user removes a layer .
layer
DefaultContextLayer
None