WPF-HandyControl

[删除(380066935@qq.com或微信通知)]

HandyControl

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

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


用法

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