/// <summary>
 /// Arrange all layers's background.
 /// </summary>
 public static void ArrangeLayersBackground()
 {
     foreach (Layerage child in LayerManager.RootLayerage.Children)
     {
         LayerManager.ArrangeLayersBackgroundCore(child);
     }
 }
        private static void ArrangeLayersBackgroundWithoutParentsSelectedCore(Layerage layerage)
        {
            ILayer layer = layerage.Self;

            layer.Control.BackgroundMode = BackgroundMode.ChildSelected;

            foreach (Layerage child in layerage.Children)
            {
                LayerManager.ArrangeLayersBackgroundCore(child);
            }
        }