void UpdateTargetProperty( ) { if (targetPropertyInfo == null && !propertyInfoChecked) { target = Storyboard.GetTarget(this); targetProperty = Storyboard.GetTargetProperty(this); if (target != null && targetProperty != null) { targetPropertyInfo = target .GetType( ) .GetProperty( targetProperty); } propertyInfoChecked = true; } if (targetPropertyInfo != null) { targetPropertyInfo.SetValue( target, GetCurrentValue( ), null); } }