public bool HasPriority(Storyboard scheduledStoryboard, Storyboard newStoryboard, PriorityEffect priorityEffect)
 {
     if (Delegate != null)
         return Delegate.Invoke(scheduledStoryboard, newStoryboard, priorityEffect);
     return false;
 }
 public bool HasPriority(Storyboard scheduledStoryboard, Storyboard newStoryboard, PriorityEffect priorityEffect)
 {
     if (Delegate != null)
     {
         return(Delegate.Invoke(scheduledStoryboard, newStoryboard, priorityEffect));
     }
     return(false);
 }