In this blog post Joel Neubeck is going to create a TriggerAction which makes it incredibly simple to take two UIElements and compose them into a panel which can be flipped.
I have demonstrated the technique many times, but here it is all packaged up in a nice reusable class.