Inheritance: IEffect, IAnimation
コード例 #1
0
        public EffectPropertyBuildersTests()
        {
            slide = new SlideAnimation();
            slideBuilder = new AnimationBuilder(slide);

            property = new PropertyAnimation();
            propertyBuilder = new AnimationBuilder(property);
        }
コード例 #2
0
        public EffectsBuilderBase Expand(Action<AnimationBuilder> setEffectProperties)
        {
            var effect = new PropertyAnimation(PropertyAnimationType.Height);

            setEffectProperties(new AnimationBuilder(effect));

            container.Container.Add(effect);

            return this;
        }
コード例 #3
0
        public EffectsBuilderBase Expand(Action <AnimationBuilder> setEffectProperties)
        {
            var effect = new PropertyAnimation(PropertyAnimationType.Height);

            setEffectProperties(new AnimationBuilder(effect));

            container.Container.Add(effect);

            return(this);
        }
コード例 #4
0
 public CssPropertyAnimationBuilder(PropertyAnimation effect)
 {
     this.effect = effect;
 }
コード例 #5
0
        {
        }
    }
}
コード例 #6
0
 public PropertyAnimationBuilder(PropertyAnimation animation)
     : this(animation)
 {
 }
コード例 #7
0
 public PropertyAnimationSerializationTests()
 {
     property = new PropertyAnimation();
 }
コード例 #8
0
 public CssPropertyAnimationBuilder(PropertyAnimation effect)
 {
     this.effect = effect;
 }