Condividi tramite


Animating Tile Panel (an excuse to download the WinXP Nov CTP)

I've been sitting on this demo a few weeks, so I'm excited to finally share the code publicly.

Go down the the WinFX Runtime Components - November CTP

The latest release includes a simple, static event: CompositionTarget.Rendering. This simple event will give you call every frame. What does this enable? Some sweet animated effects.

I basically took Dan's Tile Panel and updated it to use CompositionTarget.Rendering, private attached properties, and a little high school physics. The results are pretty cool.

Since it's just a Panel, you can put anything you want in it: Shapes, Controls, Images. Images look really cool.

Comments

  • Anonymous
    February 19, 2006
    We're not nearly as entertaining as Don and Chris, but Robby and I are in another video on Channel 9...
  • Anonymous
    February 23, 2006
    Ok, it took me a lot longer to get to this, but I finally have a post about a better way to do layout...
  • Anonymous
    January 06, 2007
    Ok, it took me a lot longer to get to this, but I finally have a post about a better way to do layout