Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Animate stuff like in jQuery?

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.

like image 496
Jonathan Avatar asked Oct 25 '22 22:10

Jonathan


1 Answers

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:

  • DYNAMIC LAYOUT AND TRANSITIONS IN EXPRESSION BLEND 4
like image 78
Rick Sladkey Avatar answered Nov 11 '22 14:11

Rick Sladkey