SimpleFactoryGenerator - A simple factory source generator that enables the pattern to not violate the open-close principle.
WpfExtensions - Some syntactic sugar for Wpf development.
HandyControl 项目已加入 dotNET China 组织。
https://join.slack.com/t/handycontrol/shared_invite/zt-sw29prqd-okFmRlmETdtWhnF7C3foxA
https://gitee.com/handyorg/HandyControl/
https://handyorg.github.io/handycontrol/
如果你的项目没有被列出,请告知我们! 😀
Step 1: 添加 HandyControl 引用,或在 nuget 上搜索 HandyControl;
Install-Package HandyControl
Step 2: 在 App.xaml 中添加如下代码:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Step 3: 添加命名空间:
xmlns:hc="https://handyorg.github.io/handycontrol"
Step 4: 开始编码
VS2019 |
---|