MIRIA.Animations.Animator

Static class for creating animations and effects from application code.

Methods

  • void static AnimateProperty(FrameworkElement element, String dependencyproperty, Double valuefrom, Double valueto, Double durationsec, EventHandler completedcallback)
    • Example Usage
    • MIRIA.Animations.Animator.AnimateProperty(myRectangle, "Opacity", 0.0, 1.0, 0.75, (object sender, EventArgs e) =>
      {
           // code to be exectuted once animation is ended (0.75s -> 750ms)
      });
      





Last edited Jan 29, 2010 at 6:05 PM by Generoso, version 7

Comments

No comments yet.