Code Monkey home page Code Monkey logo

dot-net-transitions's Introduction

Dotnet Transitions

A library for animated UI transitions for .NET.

Build state

Overview

The Transitions library lets you create animated transitions of any properties of user-interface elements for .NET. It provides an easy way to perform UI animations in .NET in a similar way to the Core Animation library for Apple and the iPhone.

The Transitions library is built with Visual Studio 2008 but targets version 2 of the .NET runtime, so it can be used with projects built with VS2005.

Downloads

Getting started

You can animate a single property of an object with a single line of code like this:

Transition.run(this, "BackColor", Color.Red, new TransitionType_Linear(1000));

If this code is in a Form class, it animates the background color from its initial color to red over the course of 1000ms.

You can animate multiple properties (maybe across multiple objects) simultaneously with code like this:

Transition t = new Transition(new TransitionType_EaseInEaseOut(2000));
t.add(pictureBox1, "Left", 300);
t.add(pictureBox1, "Top", 200);
t.run();

This animates the movement of pictureBox1 from its initial location to (300, 200) over the course of 2000ms.

Coding with Transitions

The TestSample project (which is part of the code download) demonstrates a number of different transitions. It is fairly well commented, and can act as a tutorial to help get you started.

For more information on how to code with the Transitions library see the coding reference.

Version History

Transitions is currently at version 1.2. See the VersionHistory page for details of previous version.

Acknowledgements

Thanks to Maxim Gready for writing the critical-damping transition-type.

© 2009 Richard S. Shepherd.

2015-07-16, Uwe Keim: I've copied this repository from Google Code to save it from disappearing when Google Code shuts down.

dot-net-transitions's People

Contributors

uwekeim avatar nokinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.