Alway use the vista-theme

Apr 1, 2009 at 9: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 8:08 AM
Edited Apr 2, 2009 at 8: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"/>