GetAutoStart() приватный Метод

private GetAutoStart ( DependencyObject obj ) : bool
obj DependencyObject
Результат bool
Пример #1
0
 private static void SetAnimatorCore(Image image, Animator animator)
 {
     AnimationBehavior.SetAnimator((DependencyObject)image, animator);
     image.Source = ((ImageSource)animator.Bitmap);
     if (AnimationBehavior.GetAutoStart((DependencyObject)image))
     {
         animator.Play();
     }
     else
     {
         animator.ShowFirstFrame();
     }
 }