Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
swdev:dotnet:wpf:resources [2011/07/01 09:19] smayr [References] |
swdev:dotnet:wpf:resources [2011/07/01 09:30] (current) smayr |
||
---|---|---|---|
Line 35: | Line 35: | ||
== Resource Dictionary == | == Resource Dictionary == | ||
+ | ==== ResourceDictionary in Application ==== | ||
+ | * Create a resource dictionary using XML. Eg: '' | ||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | < | ||
+ | <Color x: | ||
+ | <Color x: | ||
+ | <Color x: | ||
+ | . . . | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== ResourceDictionary Assembly ==== | ||
* Create an assembly project in C#. | * Create an assembly project in C#. | ||
* Add references to: | * Add references to: | ||
Line 54: | Line 71: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ==== Merge ResourceDictionary at Application Scope ==== | ||
+ | |||
+ | '' | ||
+ | <code xml> | ||
+ | < | ||
+ | xmlns=" | ||
+ | xmlns: | ||
+ | x: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
= References = | = References = | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |