HandyControl WPF控件库 版本3.5.2

作者:袖梨 2026-06-11

HandyControl是一套WPF控件库,它几乎重写了所有原生样式,同时包含80余款自定义控件。

用法

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: 开始编码

HandyControl WPF控件库 v3.5.2

相关文章

精彩推荐