August 5, 2008 2:42 PM
Posted by: MarkWPF
Animation,
Databinding,
WPF,
XAMLThis is a very important property in the world of WPF animations, as it specifies how long the animation will last.
The property is actually of type Duration.
What does that mean?
Well, in addition to being able to specify every thing that a TimeSpan can specify - like hours, minutes or...
August 5, 2008 7:28 AM
Posted by: MarkWPF
Animation,
Databinding,
WPF,
XAMLIn WPF animations, the To property is an important one.
It tells the animation where to stop.
Quite bizarrely, in my opinion, it can be left out.
When it is, the animation will use the value specified in the definition of the element.
In doing so, it will ignore any changes to that...
August 4, 2008 7:05 AM
Posted by: MarkWPF
Animation,
Databinding,
WPF,
XAMLWhen you are doing a WPF animation, with a storyboard, the From property lets you specify the starting value.
It means you can start the animation with a different value than the current value.
You may want to do that so that you can control the starting value, or if you are doing a cumulative...
June 28, 2008 11:44 AM
Posted by: MarkWPF
Animation,
WPF,
XAMLWhen you are contemplating animations in WPF, you can have more than one running at any particular time.
Remember though, that each one creates a whole gamut of objects in order to run that animation.
Here is an example of how to change the width of a rectangle and also change the colour...
June 28, 2008 7:08 AM
Posted by: MarkWPF
Animation,
WPF,
XAMLFirstly, what does a key frame animation mean?
It is a way of specifying steps for your animation to follow.
The WPF runtime will work out the smooth transition between the steps for you.
Why would you want to do such a thing?
If you want to control how the animation flows, but don't want...
June 21, 2008 2:38 PM
Posted by: MarkWPF
Animation,
WPF,
XAMLIn a previous blog I talked about how to make an animation return to it's original value.
Actually all you need to do is add a property called AutoReverse to your animation declaration.
It needs to be set to true...
June 21, 2008 2:04 PM
Posted by: MarkWPF
Animation,
WPF,
XAMLIn previous blogs , I talked about the classes in animation and what the different types are; not to mention how great WPF is that doing animations is so easy
Now, where do you place animations in xaml?
Firstly, they have to be defined within a storyboard.
A storyboard (I've...
June 20, 2008 1:52 PM
Posted by: MarkWPF
VS 2008,
WPF,
XAMLWell TechEd 2008 has come and gone (USA version anyway)
Where were the announcements about new things for WPF?
There was a new beta for Silverlight (Beta 2), which is good as I believe Silverlight will be a great thing for web development
I was hoping there might be something about MVC and...
June 15, 2008 8:52 PM
Posted by: MarkWPF
Animation,
Databinding,
Development,
WPF,
XAMLAll of the interesting WPF classes derive from the TimeLine class.
What do I mean by interesting?
All of the classes for animating different types (like DoubleAnimation and ColorAnimation), MediaTimeLine (for playing videos and audio) and TimeLineGroup from which StoryBoard (which provides...