A combination of the retained-mode graphics system and notification mechanisms such as dependency properties unleash the flexibility and power of Windows Presentation Foundation (WPF, allowing these objects to be targets of data bindings and animations.

In the June 2008 issue of MSDN Magazine, Charles Petzold demonstrates how the RenderTargetBitmap and WriteableBitmap classes keep bitmaps alive within the visual composition system and make them responsive to application changes.

In the Virtual Lab for this article, you can get immediate hands-on experience with our sample code while reading along in the associated article.