Ejemplo n.º 1
0
        internal override void DetachContext(IInheritanceContext inheritanceContext)
        {
            foreach (var animation in AnimationCollection)
            {
                inheritanceContext.Detach(animation);
            }

            base.DetachContext(inheritanceContext);
        }
Ejemplo n.º 2
0
        internal override void AttachContext(IInheritanceContext inheritanceContext)
        {
            base.AttachContext(inheritanceContext);

            foreach (var animation in AnimationCollection)
            {
                inheritanceContext.Attach(animation);
            }
        }