private GetAutoStart ( DependencyObject obj ) : bool | ||
obj | DependencyObject | |
Результат | 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(); } }