예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="value"></param>
        public void SetChildrenLayer(int value)
        {
            int cnt = _children.Count;

            for (int i = 0; i < cnt; i++)
            {
                DisplayObject child = _children[i];
                child._SetLayerDirect(value);
                if ((child is Container) && child._paintingMode == 0)
                {
                    ((Container)child).SetChildrenLayer(value);
                }
            }
        }