Milk-blue style for WPF controls (.NET 4.0)
There are some ways to use it.
- Copy Theme/MoonUICore.xaml to your Application. Add dictionary right in your app.xaml file (this way used in example):
<Application.Resources>
<!-- Resources scoped at the Application level should be defined here. -->
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Theme/MoonUICore.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
- Copy Theme/MoonUICore.xaml to your Application. Add reference in your code:
this.Resources.MergedDictionaries.Add(new ResourceDictionary() { Source = new Uri("Theme/MoonUICore.xaml.xaml", UriKind.RelativeOrAbsolute) });
- Compile sample project. Add reference in your application to compiled sample program. Add reference in your code:
this.Resources.MergedDictionaries.Add(new ResourceDictionary() { Source = new Uri("/MoonUI_Net4;component/Theme/MoonUICore.xaml.xaml", UriKind.RelativeOrAbsolute) });
There is a lot of crap code because of using only Blend to create it, but style is already usable. Later it shall be refactored.
sorry for my english =)