@@ -32,9 +32,10 @@ public AnimationBuilder NormalizedKeyFrames(
3232 Action < INormalizedKeyFrameAnimationBuilder < T > > build ,
3333 TimeSpan ? delay ,
3434 TimeSpan ? duration ,
35- RepeatOption ? repeatOption )
35+ RepeatOption ? repeatOption ,
36+ AnimationDelayBehavior ? delayBehavior )
3637 {
37- return Builder . NormalizedKeyFrames ( Property , build , delay , duration , repeatOption , Layer ) ;
38+ return Builder . NormalizedKeyFrames ( Property , build , delay , duration , repeatOption , delayBehavior , Layer ) ;
3839 }
3940
4041 /// <inheritdoc/>
@@ -43,28 +44,31 @@ public AnimationBuilder NormalizedKeyFrames<TState>(
4344 Action < INormalizedKeyFrameAnimationBuilder < T > , TState > build ,
4445 TimeSpan ? delay ,
4546 TimeSpan ? duration ,
46- RepeatOption ? repeatOption )
47+ RepeatOption ? repeatOption ,
48+ AnimationDelayBehavior ? delayBehavior )
4749 {
48- return Builder . NormalizedKeyFrames ( Property , state , build , delay , duration , repeatOption , Layer ) ;
50+ return Builder . NormalizedKeyFrames ( Property , state , build , delay , duration , repeatOption , delayBehavior , Layer ) ;
4951 }
5052
5153 /// <inheritdoc/>
5254 public AnimationBuilder TimedKeyFrames (
5355 Action < ITimedKeyFrameAnimationBuilder < T > > build ,
5456 TimeSpan ? delay ,
55- RepeatOption ? repeatOption )
57+ RepeatOption ? repeatOption ,
58+ AnimationDelayBehavior ? delayBehavior )
5659 {
57- return Builder . TimedKeyFrames ( Property , build , delay , repeatOption , Layer ) ;
60+ return Builder . TimedKeyFrames ( Property , build , delay , repeatOption , delayBehavior , Layer ) ;
5861 }
5962
6063 /// <inheritdoc/>
6164 public AnimationBuilder TimedKeyFrames < TState > (
6265 TState state ,
6366 Action < ITimedKeyFrameAnimationBuilder < T > , TState > build ,
6467 TimeSpan ? delay ,
65- RepeatOption ? repeatOption )
68+ RepeatOption ? repeatOption ,
69+ AnimationDelayBehavior ? delayBehavior )
6670 {
67- return Builder . TimedKeyFrames ( Property , state , build , delay , repeatOption , Layer ) ;
71+ return Builder . TimedKeyFrames ( Property , state , build , delay , repeatOption , delayBehavior , Layer ) ;
6872 }
6973 }
7074
@@ -81,14 +85,15 @@ public AnimationBuilder NormalizedKeyFrames(
8185 Action < INormalizedKeyFrameAnimationBuilder < double > > build ,
8286 TimeSpan ? delay ,
8387 TimeSpan ? duration ,
84- RepeatOption ? repeatOption )
88+ RepeatOption ? repeatOption ,
89+ AnimationDelayBehavior ? delayBehavior )
8590 {
8691 NormalizedKeyFrameAnimationBuilder < double > . Composition builder = new (
8792 Property ,
8893 delay ,
8994 duration ?? DefaultDuration ,
9095 repeatOption ?? RepeatOption . Once ,
91- DefaultDelayBehavior ) ;
96+ delayBehavior ?? DefaultDelayBehavior ) ;
9297
9398 build ( builder ) ;
9499
@@ -103,14 +108,15 @@ public AnimationBuilder NormalizedKeyFrames<TState>(
103108 Action < INormalizedKeyFrameAnimationBuilder < double > , TState > build ,
104109 TimeSpan ? delay ,
105110 TimeSpan ? duration ,
106- RepeatOption ? repeatOption )
111+ RepeatOption ? repeatOption ,
112+ AnimationDelayBehavior ? delayBehavior )
107113 {
108114 NormalizedKeyFrameAnimationBuilder < double > . Composition builder = new (
109115 Property ,
110116 delay ,
111117 duration ?? DefaultDuration ,
112118 repeatOption ?? RepeatOption . Once ,
113- DefaultDelayBehavior ) ;
119+ delayBehavior ?? DefaultDelayBehavior ) ;
114120
115121 build ( builder , state ) ;
116122
@@ -123,9 +129,14 @@ public AnimationBuilder NormalizedKeyFrames<TState>(
123129 public AnimationBuilder TimedKeyFrames (
124130 Action < ITimedKeyFrameAnimationBuilder < double > > build ,
125131 TimeSpan ? delay ,
126- RepeatOption ? repeatOption )
132+ RepeatOption ? repeatOption ,
133+ AnimationDelayBehavior ? delayBehavior )
127134 {
128- TimedKeyFrameAnimationBuilder < double > . Composition builder = new ( Property , delay , repeatOption ?? RepeatOption . Once , DefaultDelayBehavior ) ;
135+ TimedKeyFrameAnimationBuilder < double > . Composition builder = new (
136+ Property ,
137+ delay ,
138+ repeatOption ?? RepeatOption . Once ,
139+ delayBehavior ?? DefaultDelayBehavior ) ;
129140
130141 build ( builder ) ;
131142
@@ -139,9 +150,14 @@ public AnimationBuilder TimedKeyFrames<TState>(
139150 TState state ,
140151 Action < ITimedKeyFrameAnimationBuilder < double > , TState > build ,
141152 TimeSpan ? delay ,
142- RepeatOption ? repeatOption )
153+ RepeatOption ? repeatOption ,
154+ AnimationDelayBehavior ? delayBehavior )
143155 {
144- TimedKeyFrameAnimationBuilder < double > . Composition builder = new ( Property , delay , repeatOption ?? RepeatOption . Once , DefaultDelayBehavior ) ;
156+ TimedKeyFrameAnimationBuilder < double > . Composition builder = new (
157+ Property ,
158+ delay ,
159+ repeatOption ?? RepeatOption . Once ,
160+ delayBehavior ?? DefaultDelayBehavior ) ;
145161
146162 build ( builder , state ) ;
147163
@@ -182,7 +198,8 @@ public AnimationBuilder NormalizedKeyFrames(
182198 Action < INormalizedKeyFrameAnimationBuilder < double > > build ,
183199 TimeSpan ? delay ,
184200 TimeSpan ? duration ,
185- RepeatOption ? repeatOption )
201+ RepeatOption ? repeatOption ,
202+ AnimationDelayBehavior ? _ )
186203 {
187204 NormalizedKeyFrameAnimationBuilder < double > . Xaml builder = new (
188205 Property ,
@@ -203,7 +220,8 @@ public AnimationBuilder NormalizedKeyFrames<TState>(
203220 Action < INormalizedKeyFrameAnimationBuilder < double > , TState > build ,
204221 TimeSpan ? delay ,
205222 TimeSpan ? duration ,
206- RepeatOption ? repeatOption )
223+ RepeatOption ? repeatOption ,
224+ AnimationDelayBehavior ? _ )
207225 {
208226 NormalizedKeyFrameAnimationBuilder < double > . Xaml builder = new (
209227 Property ,
@@ -222,7 +240,8 @@ public AnimationBuilder NormalizedKeyFrames<TState>(
222240 public AnimationBuilder TimedKeyFrames (
223241 Action < ITimedKeyFrameAnimationBuilder < double > > build ,
224242 TimeSpan ? delay ,
225- RepeatOption ? repeatOption )
243+ RepeatOption ? repeatOption ,
244+ AnimationDelayBehavior ? _ )
226245 {
227246 TimedKeyFrameAnimationBuilder < double > . Xaml builder = new ( Property , delay , repeatOption ?? RepeatOption . Once ) ;
228247
@@ -238,7 +257,8 @@ public AnimationBuilder TimedKeyFrames<TState>(
238257 TState state ,
239258 Action < ITimedKeyFrameAnimationBuilder < double > , TState > build ,
240259 TimeSpan ? delay ,
241- RepeatOption ? repeatOption )
260+ RepeatOption ? repeatOption ,
261+ AnimationDelayBehavior ? _ )
242262 {
243263 TimedKeyFrameAnimationBuilder < double > . Xaml builder = new ( Property , delay , repeatOption ?? RepeatOption . Once ) ;
244264
0 commit comments