Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

New Post: [Version 2.0] Themes!

$
0
0

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

 


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>