Skip to content

Commit 1f58e31

Browse files
committed
Added Controsl readme file
1 parent 28edb8d commit 1f58e31

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Thanks for installing the Windows Community Toolkit Controls NuGet package!
2+
3+
This is a meta-package made up of various Windows Community Toolkit packages to make it easy and convenient for you to use the controls. You also have the option to only use packages you need which can help optimize the size of your package once you are ready to ship. Visit https://aka.ms/wct/optimize to learn more.
4+
5+
You can find out more about the Windows Community Toolkit at https://aka.ms/windowstoolkit
6+
Or even try our controls in our sample app at https://aka.ms/windowstoolkitapp
7+
Docs are availabe here: https://aka.ms/windowstoolkitdocs
8+
9+
----
10+
11+
This package also depends on the WinUI library, so you'll need to set XamlControlsResources as your Application resources in App.xaml:
12+
13+
<Application>
14+
<Application.Resources>
15+
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
16+
</Application.Resources>
17+
</Application>
18+
19+
If you have other resources, then we recommend you add those to the XamlControlsResources' MergedDictionaries.
20+
This works with the platform's resource system to allow overrides of the XamlControlsResources resources.
21+
22+
<Application
23+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
24+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
25+
xmlns:controls="using:Microsoft.UI.Xaml.Controls">
26+
<Application.Resources>
27+
<controls:XamlControlsResources>
28+
<controls:XamlControlsResources.MergedDictionaries>
29+
<!-- Other app resources here -->
30+
</controls:XamlControlsResources.MergedDictionaries>
31+
</controls:XamlControlsResources>
32+
</Application.Resources>
33+
</Application>
34+
35+
See http://aka.ms/winui for more information about the WinUI library.

0 commit comments

Comments
 (0)