GetAutoStart() private method

private GetAutoStart ( DependencyObject obj ) : bool
obj DependencyObject
return bool
Ejemplo n.º 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();
     }
 }