public void Add(IStoryboardElement element) { Elements.Add(element); }
public static double GetEndTime(this IStoryboardElement element) => (element as IStoryboardElementWithDuration)?.EndTime ?? element.StartTime;