Skip to content
闫驚鏵(Jinhua Yan) edited this page Mar 9, 2023 · 2 revisions

Welcome to the WPFDevelopers wiki!

Step 1: Add nuget;

Install-Package WPFDevelopers

Step 2: Add nodes to App.xaml; App.xaml Add the namespace;

xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"
<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Light.Blue.xaml"/>
                    <!--需要注意wd:Resources 必须再配色主题后,Theme="Dark" 为黑色皮肤-->
                    <wd:Resources Theme="Light"/>
                    <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

Step 3: Control Using Add the namespace;

xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"