Figure 4. Combine Avalon and WinForms Controls.
WinForms apps can host Avalon panels and controls (and vice versa). This example (which replaces Longhorn's default Slate theme for Aero with the Windows XP theme) uses procedural code to define the Avalon components that run in a separate UIContext thread. Mixing WinForms and Avalon presentation components requires a substantial amount of code. The added development effort probably isn't justified unless you need specialized Avalon features, such as vector-based animation or video backgrounds.