0
点赞
收藏
分享

微信扫一扫

HandyControl的属性编辑器的入门使用

千行 2024-06-12 阅读 3
编辑器wpf

第一步

以Nuget的方式引用控件库。Nuget链接:HandyControl-Nuget

第二步

在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>

第三步

添加命名空间:xmlns:hc="https://handyorg.github.io/handycontrol"

举报

相关推荐

0 条评论