I was wondering if there is a function like animate in jQuery, but for C# 4.0 ?
When people clicks a button, some panel and other controls must disappear, then I thought of using some simple animation to make it prettier with opacity, and there is another task that is to move some panels in a right order, then I thought again in using some easing moviments like in jQuery animate() function.
The most direct equivalent to jQuery's anmiate()
is the WPF's DoubleAnimation. For animating more than one property the equivalent is Storyboard. There are also more sophisticated reusable animation capabilities included in the free Expression Blend SDK such as FluidMoveBehavior and UseFluidLayout
with the ExtendedVisualStateManager.
Here is an introduction to the Blend animations:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With