home       archive       my company      currently working on       about me      my articles       contact       rss

WTF - WPF Transformation Framework

Some time back, we made a public beta available for <WTF/> or WPF Transformation Framework (formerly, WPF Transition Framework).

The project started as a simple means to add animated transitions without having to create Timelines. Basically, you just created a WTF powered Canvas, set the animation type and duration, and you're done.

WTF Transition Containers Code Sample:

<WTF:TransitionCanvas Name="TransitionGrid1" FireOn="OnLoad" Duration="500">

<!-- Add your controls here -->

</WTF:TransitionCanvas>

From the feedback we received and some other gaps in WPF we encountered ourselves, we set out to add more power to WTF before releasing the final version.

WTFRC1

The image above shows the new WTF:Animation control and the WTF:PowerImage control.

The WTF:PowerImage is bound to the WTF:Animation exposed frame (ImageSource), creating an animation with the Add Blend Effect

The new features include:

WTF:TransitionContainers

You are no longer restricted to using just the canvas. You can choose from TransitionBorder, TransitionContentPresenter, TransitionDockPanel, TransitionGrid, TransitionStackPanel, and TransitionWrapPanel. With TransitionContentPresenter you can apply transitions to ANY control in the WPF ecosystem!

Each TransitionContainer is an inherited control, therefore it is extremely easy to replace existing containers in your UI with these.

New Transitions

Enjoy a vast range of transitions including:

  • FadeIn
  • FadeOut
  • BlurFadeIn
  • BlurFadeOut
  • SlideIn
  • SlideOut
  • BlurSlideIn
  • BlurSlideOut
  • ZoomIn
  • ZoomOut
  • BlurZoomIn
  • BlurZoomOut
  • RotateIn
  • RotateOut
  • BlurRotateIn
  • BlurRotateOut

New Transition Functionality

Sequence multiple transitions with the WaitBeforeFire property. Instantly disable animations during resource hungry operations. Integrate transitions more easily with Transition status events such as TransitionFiring, TransitionFired, and others.

WTF:Animation

Add traditional frame-based animations with the new WTF:Animation control. Full support for 32-bit transparent PNG for creating animated controls and more. Control the playback directly from XAML or from code-behind.

Features include:

  • Loop and Back-Forth Loop options
  • 32-bit transparent PNG animations
  • Exposes current frame for direct DataBinding with other controls such as WTF:PowerImage
  • Load frames from embedded resource or direct files
  • Select between Performance and Quality rendering modes
  • Inherits all features of the WPF Image control

WTF:PowerImage

Use the powerful ADD Blend Mode (aka Hard Dodge) on your images. Use WTF:PowerImage to apply the Add effect to the WTF:Animation control!

The ADD blend mode is used by designers to create glow and other effects. WPF does not support Blend Modes, so WTF:PowerImage provides a workaround.

 

Keep watching this blog for more demos.

 

Release Information

<WTF/> will be available in two editions: a full featured retail version, and a free express edition. <WTF/> is scheduled for release near the end of Feb 2008.





Posted on February 6, 2008 17:15
, , , ,
E-mail | Permalink | Comments (2) | Trackback | Digg! | Kick it! | DZone it! | del.icio.us

Related posts

Comments

February 19. 2008 20:22

Just tested the "public beta". And for my app I use it for transitions between two MediaElement playing video.

"Fade" works great, but "blur" don't work at all with video.

Realy looking forware to the next release with all new transitions (hope they work with video). Please post a beta soon Smile

Ken

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

July 24. 2008 19:32



Powered by the awesome BlogEngine.NET 1.3.0.0 | Designed by Nukeation Studios. www.nukeation.com

Sign in


Subscribe to Dax Pandhi's Blog by Email