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