Exemplo n.º 1
0
        void InitializeContainerVisual(Wd.ContainerVisual source, Wc.ContainerVisual target)
        {
            var children = target.Children;

            foreach (var child in source.Children)
            {
                children.InsertAtTop(GetVisual(child));
            }
        }
Exemplo n.º 2
0
        Wc.ContainerVisual GetContainerVisual(Wd.ContainerVisual obj)
        {
            if (GetExisting(obj, out Wc.ContainerVisual result))
            {
                return(result);
            }

            result = CacheAndInitializeVisual(obj, _c.CreateContainerVisual());
            InitializeContainerVisual(obj, result);
            StartAnimations(obj, result);
            return(result);
        }