58 instantiations of KeySpline
PresentationCore (18)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (16)
127
new PropertyMetadata(new
KeySpline
()));
254
new PropertyMetadata(new
KeySpline
()));
381
new PropertyMetadata(new
KeySpline
()));
508
new PropertyMetadata(new
KeySpline
()));
635
new PropertyMetadata(new
KeySpline
()));
762
new PropertyMetadata(new
KeySpline
()));
889
new PropertyMetadata(new
KeySpline
()));
1016
new PropertyMetadata(new
KeySpline
()));
1143
new PropertyMetadata(new
KeySpline
()));
1270
new PropertyMetadata(new
KeySpline
()));
1397
new PropertyMetadata(new
KeySpline
()));
1524
new PropertyMetadata(new
KeySpline
()));
1651
new PropertyMetadata(new
KeySpline
()));
1778
new PropertyMetadata(new
KeySpline
()));
1905
new PropertyMetadata(new
KeySpline
()));
2032
new PropertyMetadata(new
KeySpline
()));
System\Windows\Media\Animation\KeySpline.cs (1)
87
return new
KeySpline
();
System\Windows\Media\Animation\KeySplineConverter.cs (1)
72
return new
KeySpline
(
PresentationCore.Tests (37)
System\Windows\Media\Animation\KeySplineConverter.Tests.cs (37)
163
new
KeySpline
{ ControlPoint1 = new Point(0.25, 0.1), ControlPoint2 = new Point(0.25, 1.0) },
168
new
KeySpline
{ ControlPoint1 = new Point(0.5, 0.75), ControlPoint2 = new Point(0.25, 0.9) },
173
new
KeySpline
{ ControlPoint1 = new Point(1.0, 0.0), ControlPoint2 = new Point(0.0, 1.0) },
178
new
KeySpline
{ ControlPoint1 = new Point(1.0, 0.0), ControlPoint2 = new Point(0.0, 1.0) },
183
new
KeySpline
{ ControlPoint1 = new Point(0.3, 0.2), ControlPoint2 = new Point(0.4, 0.8) },
188
new
KeySpline
{ ControlPoint1 = new Point(0.12, 0.34), ControlPoint2 = new Point(0.56, 0.78) },
193
new
KeySpline
{ ControlPoint1 = new Point(0.9, 0.1), ControlPoint2 = new Point(0.3, 0.7) },
198
new
KeySpline
{ ControlPoint1 = new Point(0.0, 0.5), ControlPoint2 = new Point(1.0, 0.5) },
203
new
KeySpline
{ ControlPoint1 = new Point(0.15, 0.35), ControlPoint2 = new Point(0.85, 0.95) },
208
new
KeySpline
{ ControlPoint1 = new Point(0.6, 0.4), ControlPoint2 = new Point(0.2, 0.8) },
213
new
KeySpline
{ ControlPoint1 = new Point(0.33, 0.67), ControlPoint2 = new Point(0.25, 0.75) },
218
new
KeySpline
{ ControlPoint1 = new Point(0.2, 0.8), ControlPoint2 = new Point(0.4, 0.6) },
223
new
KeySpline
{ ControlPoint1 = new Point(0.75, 0.25), ControlPoint2 = new Point(0.5, 0.5) },
228
new
KeySpline
{ ControlPoint1 = new Point(0.1, 0.9), ControlPoint2 = new Point(0.9, 0.1) },
233
new
KeySpline
{ ControlPoint1 = new Point(0.05, 0.95), ControlPoint2 = new Point(0.95, 100.05) },
238
new
KeySpline
{ ControlPoint1 = new Point(0.4, 0.4), ControlPoint2 = new Point(0.6, 0.6) },
243
new
KeySpline
{ ControlPoint1 = new Point(0.8, 0.2), ControlPoint2 = new Point(0.3, 0.7) },
248
new
KeySpline
{ ControlPoint1 = new Point(0.55, 0.45), ControlPoint2 = new Point(0.35, 0.65) },
253
new
KeySpline
{ ControlPoint1 = new Point(0.99, 0.01), ControlPoint2 = new Point(0.5, 0.5) },
295
yield return new object[] { new
KeySpline
(0.1, 0.2, 0.3, 0.4), typeof(int), CultureInfo.CurrentCulture };
296
yield return new object[] { new
KeySpline
(0.5, 0.6, 0.7, 0.8), typeof(double), CultureInfo.InvariantCulture };
297
yield return new object[] { new
KeySpline
(0.25, 0.25, 0.75, 0.75), typeof(object), CultureInfo.InvariantCulture };
298
yield return new object[] { new
KeySpline
(1.0, 0.0, 0.0, 1.0), typeof(bool), CultureInfo.InvariantCulture };
299
yield return new object[] { new
KeySpline
(0.33, 0.66, 0.66, 0.33), typeof(DateTime), CultureInfo.InvariantCulture };
300
yield return new object[] { new
KeySpline
(0.5, 0.5, 0.5, 0.5), typeof(Guid), CultureInfo.CurrentCulture };
301
yield return new object[] { new
KeySpline
(0.1, 0.2, 0.3, 0.4), typeof(Uri), CultureInfo.InvariantCulture };
302
yield return new object[] { new
KeySpline
(0.6, 0.7, 0.8, 0.9), typeof(Array), CultureInfo.InvariantCulture };
303
yield return new object[] { new
KeySpline
(0.2, 0.3, 0.4, 0.5), typeof(TimeSpan), CultureInfo.InvariantCulture };
304
yield return new object[] { new
KeySpline
(0.7, 0.8, 0.9, 1.0), typeof(Enum), CultureInfo.InvariantCulture };
305
yield return new object[] { new
KeySpline
(0.1, 0.2, 0.3, 0.4), typeof(Point), CultureInfo.InvariantCulture };
306
yield return new object[] { new
KeySpline
(0.1, 0.1, 0.9, 0.9), typeof(Color), CultureInfo.CurrentCulture };
307
yield return new object[] { new
KeySpline
(0.2, 0.4, 0.6, 0.8), typeof(KeySpline), CultureInfo.InvariantCulture };
308
yield return new object[] { new
KeySpline
(0.2, 0.3, 0.4, 0.5), typeof(byte[]), CultureInfo.InvariantCulture };
309
yield return new object[] { new
KeySpline
(0.0, 0.1, 0.2, 0.3), typeof(Dictionary<int, string>), CultureInfo.InvariantCulture };
310
yield return new object[] { new
KeySpline
(0.1, 0.2, 0.3, 0.4), typeof(List<int>), CultureInfo.InvariantCulture };
311
yield return new object[] { new
KeySpline
(0.4, 0.3, 0.2, 0.1), typeof(Stack<int>), CultureInfo.InvariantCulture };
329
yield return new object?[] { new
KeySpline
(0.0, 0.0, 1.0, 1.0), null, CultureInfo.InvariantCulture };
PresentationFramework (3)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6595
DefaultConstructor = delegate () { return new System.Windows.Media.Animation.
KeySpline
(); },
System\Windows\Markup\KnownTypes.cs (1)
1352
case KnownElements.KeySpline: o = new System.Windows.Media.Animation.
KeySpline
(); break;
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (1)
127
new PropertyMetadata(new
KeySpline
()));
90 references to KeySpline
PresentationCore (76)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (64)
66
public SplineByteKeyFrame(Byte value, KeyTime keyTime,
KeySpline
keySpline)
125
typeof(
KeySpline
),
133
public
KeySpline
KeySpline
137
return (
KeySpline
)GetValue(KeySplineProperty);
193
public SplineColorKeyFrame(Color value, KeyTime keyTime,
KeySpline
keySpline)
252
typeof(
KeySpline
),
260
public
KeySpline
KeySpline
264
return (
KeySpline
)GetValue(KeySplineProperty);
320
public SplineDecimalKeyFrame(Decimal value, KeyTime keyTime,
KeySpline
keySpline)
379
typeof(
KeySpline
),
387
public
KeySpline
KeySpline
391
return (
KeySpline
)GetValue(KeySplineProperty);
447
public SplineDoubleKeyFrame(Double value, KeyTime keyTime,
KeySpline
keySpline)
506
typeof(
KeySpline
),
514
public
KeySpline
KeySpline
518
return (
KeySpline
)GetValue(KeySplineProperty);
574
public SplineInt16KeyFrame(Int16 value, KeyTime keyTime,
KeySpline
keySpline)
633
typeof(
KeySpline
),
641
public
KeySpline
KeySpline
645
return (
KeySpline
)GetValue(KeySplineProperty);
701
public SplineInt32KeyFrame(Int32 value, KeyTime keyTime,
KeySpline
keySpline)
760
typeof(
KeySpline
),
768
public
KeySpline
KeySpline
772
return (
KeySpline
)GetValue(KeySplineProperty);
828
public SplineInt64KeyFrame(Int64 value, KeyTime keyTime,
KeySpline
keySpline)
887
typeof(
KeySpline
),
895
public
KeySpline
KeySpline
899
return (
KeySpline
)GetValue(KeySplineProperty);
955
public SplinePointKeyFrame(Point value, KeyTime keyTime,
KeySpline
keySpline)
1014
typeof(
KeySpline
),
1022
public
KeySpline
KeySpline
1026
return (
KeySpline
)GetValue(KeySplineProperty);
1082
public SplinePoint3DKeyFrame(Point3D value, KeyTime keyTime,
KeySpline
keySpline)
1141
typeof(
KeySpline
),
1149
public
KeySpline
KeySpline
1153
return (
KeySpline
)GetValue(KeySplineProperty);
1209
public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime,
KeySpline
keySpline)
1268
typeof(
KeySpline
),
1276
public
KeySpline
KeySpline
1280
return (
KeySpline
)GetValue(KeySplineProperty);
1336
public SplineRotation3DKeyFrame(Rotation3D value, KeyTime keyTime,
KeySpline
keySpline)
1395
typeof(
KeySpline
),
1403
public
KeySpline
KeySpline
1407
return (
KeySpline
)GetValue(KeySplineProperty);
1463
public SplineRectKeyFrame(Rect value, KeyTime keyTime,
KeySpline
keySpline)
1522
typeof(
KeySpline
),
1530
public
KeySpline
KeySpline
1534
return (
KeySpline
)GetValue(KeySplineProperty);
1590
public SplineSingleKeyFrame(Single value, KeyTime keyTime,
KeySpline
keySpline)
1649
typeof(
KeySpline
),
1657
public
KeySpline
KeySpline
1661
return (
KeySpline
)GetValue(KeySplineProperty);
1717
public SplineSizeKeyFrame(Size value, KeyTime keyTime,
KeySpline
keySpline)
1776
typeof(
KeySpline
),
1784
public
KeySpline
KeySpline
1788
return (
KeySpline
)GetValue(KeySplineProperty);
1844
public SplineVectorKeyFrame(Vector value, KeyTime keyTime,
KeySpline
keySpline)
1903
typeof(
KeySpline
),
1911
public
KeySpline
KeySpline
1915
return (
KeySpline
)GetValue(KeySplineProperty);
1971
public SplineVector3DKeyFrame(Vector3D value, KeyTime keyTime,
KeySpline
keySpline)
2030
typeof(
KeySpline
),
2038
public
KeySpline
KeySpline
2042
return (
KeySpline
)GetValue(KeySplineProperty);
System\Windows\Media\Animation\KeySpline.cs (9)
96
KeySpline
sourceKeySpline = (
KeySpline
) sourceFreezable;
107
KeySpline
sourceKeySpline = (
KeySpline
) sourceFreezable;
118
KeySpline
sourceKeySpline = (
KeySpline
) sourceFreezable;
129
KeySpline
sourceKeySpline = (
KeySpline
)sourceFreezable;
403
private void CloneCommon(
KeySpline
sourceKeySpline)
System\Windows\Media\Animation\KeySplineConverter.cs (3)
94
KeySpline
keySpline = value as
KeySpline
;
100
ConstructorInfo ci = typeof(
KeySpline
).GetConstructor(new Type[]
PresentationCore.Tests (7)
System\Windows\Media\Animation\KeySplineConverter.Tests.cs (7)
18
[InlineData(false, typeof(
KeySpline
))]
34
[InlineData(false, typeof(
KeySpline
))]
50
KeySpline
? result = (
KeySpline
?)converter.ConvertFrom(null, culture, input);
150
public void ConvertTo_String_ReturnsExpected(
KeySpline
keySpline, CultureInfo culture, string expected)
307
yield return new object[] { new KeySpline(0.2, 0.4, 0.6, 0.8), typeof(
KeySpline
), CultureInfo.InvariantCulture };
317
public void ConvertTo_InvalidDestinationType_ThrowsArgumentNullException(
KeySpline
? input, Type? destinationType, CultureInfo? culture)
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
434
case 341: t = () => typeof(
KeySpline
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6592
typeof(System.Windows.Media.Animation.
KeySpline
),
System\Windows\Markup\KnownTypes.cs (1)
5888
case KnownElements.KeySpline: t = typeof(System.Windows.Media.Animation.
KeySpline
); break;
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (4)
66
public SplineThicknessKeyFrame(Thickness value, KeyTime keyTime,
KeySpline
keySpline)
125
typeof(
KeySpline
),
133
public
KeySpline
KeySpline
137
return (
KeySpline
)GetValue(KeySplineProperty);