Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SplineDoubleKeyFrame

5 views
Skip to first unread message

pascal13131

unread,
Dec 24, 2009, 10:44:01 AM12/24/09
to
I get the message:
'System.Windows.Media.Animation.SplineDoubleKeyFrame' does not contain a
constructor that takes '3' arguments.

on this line of code
translationAnimation.KeyFrames.Add (
new SplineDoubleKeyFrame (
0, // Target value (KeyValue)
KeyTime.FromTimeSpan (TimeSpan.FromSeconds (6)), // KeyTime
new KeySpline (0.6, 0.0, 0.9, 0.0) // KeySpline
)
);

that I copied right out a MSND example.

Yet all the documentation except intellisense shows otherwise.
Intellisense shows no constructor arguments are available.

I have:

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Silverlight Projects 2008 91605-270-7058591-60170
Microsoft Silverlight Projects 2008
Version 9.0.30730.126Microsoft Visual C# 2008 91605-270-7058591-60170
Microsoft Visual C# 2008

This occurs on two differnet systems I tested this on.
Any Ideas?


0 new messages