This project is read-only.

Alway use the vista-theme

Apr 1, 2009 at 10:15 AM
is is possible to tell the AvalonDock that it should always use the vista - theme ? (also when it's running under xp, etc.)
Apr 2, 2009 at 9:08 AM
Edited Apr 2, 2009 at 9:09 AM
Of course. Simply perform the following steps (in your application):

1) Add a reference to PresentationFramework.Aero
2) Add this to the App.xaml (or some other resource dictionary that you use):

    <!-- Set Aero theme (for WPF) -->
    <ResourceDictionary Source="/PresentationFramework.Aero;V3.0.0.0;31bf3856ad364e35;component/themes/aero.normalcolor.xaml" />
 <!-- Generic AvalonDock colors -->
    <ResourceDictionary Source="/AvalonDock;component/themes/aero.normalcolor.xaml"/>