18 references to RepeatBehavior
PresentationCore (2)
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
87
return new
RepeatBehavior
(doubleValue);
System\Windows\Media\Animation\Timeline.cs (1)
531
new
RepeatBehavior
(1.0),
PresentationCore.Tests (16)
System\Windows\Media\Animation\RepeatBehavior.Tests.cs (16)
19
Assert.Throws<ArgumentOutOfRangeException>(() => new
RepeatBehavior
(count));
29
RepeatBehavior behavior = new
RepeatBehavior
(count);
37
RepeatBehavior behavior = new
RepeatBehavior
(1.0);
46
RepeatBehavior behavior = new
RepeatBehavior
(1.0);
153
yield return new object[] { new
RepeatBehavior
(1.0), new
RepeatBehavior
(1.0), true };
154
yield return new object[] { new
RepeatBehavior
(1111.1), new
RepeatBehavior
(1111.1), true };
157
yield return new object[] { new
RepeatBehavior
(1111.0), new
RepeatBehavior
(1112.0), false };
158
yield return new object[] { new
RepeatBehavior
(0.0), new
RepeatBehavior
(8888.2), false };
171
yield return new object[] { new
RepeatBehavior
(1), new RepeatBehavior(TimeSpan.FromSeconds(1)), false };
172
yield return new object[] { new
RepeatBehavior
(1111), new RepeatBehavior(TimeSpan.FromSeconds(1112)), false };
179
yield return new object[] { RepeatBehavior.Forever, new
RepeatBehavior
(1112), false };
183
yield return new object[] { RepeatBehavior.Forever, new
RepeatBehavior
(0.0), false };