示例#1
0
        private static void _arrangeLayersChildrenZero(IEnumerable <Layerage> layerages)
        {
            foreach (Layerage layerage in layerages)
            {
                ILayer layer = layerage.Self;

                layer.Control.ChildrenCount = layerage.Children.Count;

                LayerageCollection._arrangeLayersChildrenZero(layerage.Children);
            }
        }
示例#2
0
 /// <summary>
 /// Arrange all layers's "children is zero".
 /// </summary>
 public static void ArrangeLayersChildrenZero(LayerageCollection layerageCollection) => LayerageCollection._arrangeLayersChildrenZero(layerageCollection.RootLayerages);