This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan
<p>Has anyone experienced a crash with XAMLPad (I have not tried creating a complete app yet) where by if I have to following:<p /><settertimeline path="(MenuItem.Width)" name="Timeline"><doubleanimation autoreverse="True" duration="0:0:0.5" to="150" from="100"></settertimeline><p />And I remove the "From" Attribute it causes XAMLPad to crash.<p /><settertimeline path="(MenuItem.Width)" name="Timeline"><doubleanimation autoreverse="True" duration="0:0:0.5" to="150"></settertimeline><p />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.<p />Context: The Timeline is within a Style on HeaderTemplates DataTemplate Element (because I am cusom drawing the control)<p />Example XAML can be found at <a href="http://www.kinlan.co.uk/sample_sources/XAMLAnimationCrash.xaml"><a href="http://www.kinlan.co.uk/sample_sources/XAMLAnimationCrash.xaml">http://www.kinlan.co.uk/sample_sources/XAMLAnimationCrash.xaml</a></a></p>
This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan