Themes

The assembly, AvalonLibrary, contains the following alternatives to system themes:
  • Avalon: This is a recreation of the original theme that came with Avalon in its pre-beta days. I found it very pleasing, so I decided to include it. Note that it is very partial at the moment (contains styles only for Button, TextBox, ComboBox, ListBox and a very bad looking ProgressBar).
AvalonTheme.png

Using a theme

Using merged dictionary at the application level (can be at the window or control level as well):

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="/Avalon;Librarycomponent/themes/avalon.xaml" />
        </ResourceDictionary.MergedDictionaries>
    <ResourceDictionary>
</Application.Resources>


Bring on your themes!

Last edited Nov 13, 2008 at 9:31 AM by aelij, version 3