Skip to content

flashgc/MoonUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoonUI

Milk-blue style for WPF controls (.NET 4.0)

====== USAGE

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) });

========== Notes

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 =)

About

Milk-blue style for WPF controls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages