This project is read-only.

How to switch o OSX Window in the GlassWindow sample

Apr 4, 2008 at 7:55 AM
I really like your controls. They are very nice especially the coverflow. I am trying to play with your sample code and tried to switch from the Vista style window to the OS X style in the glass window project. Can you please tell me what to modify in the sample demo code to achieve this?
Apr 4, 2008 at 3:03 PM
Hi there,
The Vista and OSX are two window styles defined in separate XAML files. You can find the OSX window style at this path in the source: FluidKit/FluidKit/Themes/MacOSXWindow.xaml

Inside that I have defined a style with the name MacOSXWindowStyle. To use it in your window, include this ResourceDictionary in your App.xaml and then change the Style property of your window to {StaticResource MacOSXWindowStyle}.