Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uwekeim/dot-net-transitions
A library for animated UI transitions for .NET
https://github.com/uwekeim/dot-net-transitions
animated-transitions animated-ui-transitions animates c-sharp dotnet transitions-library winforms
Last synced: 7 days ago
JSON representation
A library for animated UI transitions for .NET
- Host: GitHub
- URL: https://github.com/uwekeim/dot-net-transitions
- Owner: UweKeim
- License: mit
- Created: 2015-07-16T11:25:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T06:54:49.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T23:22:20.737Z (about 1 month ago)
- Topics: animated-transitions, animated-ui-transitions, animates, c-sharp, dotnet, transitions-library, winforms
- Language: C#
- Homepage: https://www.nuget.org/packages/dot-net-transitions/
- Size: 363 KB
- Stars: 99
- Watchers: 12
- Forks: 46
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Dotnet Transitions
A library for animated UI transitions for .NET.
[![Build state](https://travis-ci.org/UweKeim/dot-net-transitions.svg?branch=master)](https://travis-ci.org/UweKeim/dot-net-transitions "Travis CI build status")
## 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
- [**Get it on NuGet**](https://www.nuget.org/packages/dot-net-transitions/)
- [Download latest DLL](https://github.com/UweKeim/dot-net-transitions/blob/master/Bin/Transitions/Transitions.dll?raw=true)
- [Download sample 1.2](https://github.com/UweKeim/dot-net-transitions/blob/master/Downloads/TransitionsSample_1_2.zip?raw=true)
- [Download code 1.2](https://github.com/UweKeim/dot-net-transitions/blob/master/Downloads/TransitionsCode_1_2.zip?raw=true)## Getting started
You can animate a single property of an object with a single line of code like this:
```csharp
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:
```csharp
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](https://code.google.com/p/dot-net-transitions/) to save it from disappearing when Google Code shuts down.