Exemple #1
0
 public static void SetTargetProperty(SingleAnimationBase animation, string propertyName)
 {
     Storyboard.TargetProperties[animation] = propertyName;
 }
Exemple #2
0
 public static string GetTargetProperty(SingleAnimationBase animation)
 {
     return(Storyboard.TargetProperties.ContainsKey(animation)
         ? Storyboard.TargetProperties[animation] : null);
 }
Exemple #3
0
 public static void SetTarget(SingleAnimationBase animation, Control target)
 {
     Storyboard.Targets[animation] = target;
 }
Exemple #4
0
 public static Control GetTarget(SingleAnimationBase animation)
 {
     return(Storyboard.Targets.ContainsKey(animation)
         ? Storyboard.Targets[animation] : null);
 }