This project is read-only.

[Version 2.0] Themes!

Mar 23, 2012 at 8:39 PM

Hi Ado!

 

Is this how you anticipate themes will work in 2.0?

 

 

    <Window.Resources>
        
        <local:ActiveDocumentConverter x:Key="ActiveDocumentConverter"/>
    
        <avalonDockThemes:VS2010Theme x:Key="VS2010Theme" />
        
    </Window.Resources>

        <avalonDock:DockingManager x:Name="dockManager" 
                                   DocumentsSource="{Binding Files}"
                                   AnchorablesSource="{Binding Tools}"
                                   ActiveContent="{Binding ActiveDocument, Mode=TwoWay, Converter={StaticResource ActiveDocumentConverter}}"
                                   DocumentCloseCommand="{Binding CloseCommand}"
                                   Grid.Row="1" 
                                   Theme="{StaticResource VS2010Theme}" />

Steve

 

Mar 23, 2012 at 10:05 PM

Yes,
I've added the property Theme to DockingManager class that one can use to select the theme. Said that it's always possible to just restyle the controls-views used inside AvalonDock.

Ado

Apr 10, 2012 at 1:50 AM

Yipee, my VS theme is working after downloading the latest release :)