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