Exemplo n.º 1
0
        public static ImplicitAnimationSet GetHideAnimations(UIElement element)
        {
            var collection = (ImplicitAnimationSet)element.GetValue(HideAnimationsProperty);

            if (collection is null)
            {
                element.SetValue(HideAnimationsProperty, collection = new ImplicitAnimationSet());
            }

            return(collection);
        }
Exemplo n.º 2
0
 public static void SetHideAnimations(UIElement element, ImplicitAnimationSet value)
 {
     element.SetValue(HideAnimationsProperty, value);
 }