コード例 #1
0
            public static void Stop(FrameworkElement element)
            {
                SortAnimation animation = GetSortAnimation(element);

                if (animation != null)
                {
                    animation._canceled = true;
                }

                element.ApplyAnimationClock(FrameworkElement.MarginProperty, null);
            }
コード例 #2
0
 public static void SetSortAnimation(FrameworkElement element, SortAnimation value)
 {
     element.SetValue(SortAnimationProperty, value);
 }