Today I saw this blog post over at Nikhil K’s blog about a “jquery-like” framework for Silverlight to help developers build professional UI. Actually this “jquery-like” framework is an extension for the Silverlight.FX, which is created by Nikhil K. The “jQuery-like” framework is build by Daniel Crenna.
Here is some code from the sample that comes with the release.
// Slide Script
Animator.WithNew(horzSlideContainer)
.WithEasing(EffectEasing.QuadraticInOut)
.Slide(SlideMode.Left)
.For(1.Seconds())
.Play();
The code above “slides” this grid, defined in XAML.
<Grid x:Name="horzSlideContainer"> <Image Source="/MS.net.png" /> <Image Source="/Silverlight.png" /> </Grid>
If you want to know more about this, visit the blog listed below. You can also find download links for the release at the blogposts.
Resources:
Nikhil K’s blogpost – Fluent Animations in Silverlight
Daniel Crenna – Composing animations with Silverlight.FX
Enjoy and happy coding :)