. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Sunday, June 05, 2005

DoubleAnimation Crashes XAMLPad (MayCTP)

Has anyone experienced a crash with XAMLPad (I have not tried creating a complete app yet) where by if I have to following:

<settertimeline path="(MenuItem.Width)" name="Timeline">
<doubleanimation autoreverse="True" duration="0:0:0.5" to="150" from="100">

And I remove the "From" Attribute it causes XAMLPad to crash.

<settertimeline path="(MenuItem.Width)" name="Timeline">
<doubleanimation autoreverse="True" duration="0:0:0.5" to="150">

This timeline is used to do a basic animation of the width on a menu item. I am not including the "From" attribute because I want the default value of the MenuItem's width to be the start value. Is this the correct thing to do? Some examples that I have seen say this is possible.

Context: The Timeline is within a Style on HeaderTemplates DataTemplate Element (because I am cusom drawing the control)

Example XAML can be found at http://www.kinlan.co.uk/sample_sources/XAMLAnimationCrash.xaml

Comments: [Add New]