protected AnimationItem CreateAnimation(string title) { var animation = new AnimationItem(title); _animations.Add(animation); return(animation); }
public AnimationsViewModel() { RotateAnimation = CreateAnimation("Rotate Animation"); ColorAnimation = CreateAnimation("Color Animation"); PointAnimation = CreateAnimation("Point Animation"); DimensionsAnimation = CreateAnimation("Dimensions Animation"); StoryboardAnimation = CreateAnimation("Storyboard Animation"); PointFrameAnimation = CreateAnimation("Point Frame Animation"); ScannerAnimation = CreateAnimation("Scanner Animation"); PulseAnimation = CreateAnimation("Pulse Animation"); IndicatorAnimation = CreateAnimation("Indicator Animation"); }