Sometime back I had posted about the Custom Window Control but was a little lazy in putting up the source code as it was part of a bigger library. I have finally taken it out, changed the namespaces and removed some dependencies. Feel free to use the code as you wish. If you add any extra cool stuff, I would love to hear back :) The zip contains the GlassWindow control with the Vista and the MacOSX window templates. It should give you a good idea about creating your own templates. The executable has two XAML Windows for the Vista and MacOSX style. By switching the StartupUri in App.xaml you can test both.
This is now part of the FluidKit project