There was an error while loading. Please reload this page.
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/Theme.xaml" /> <!-- 需要注意 wd:Resources 必须在Theme.xaml后 --> <!-- 默认情况下,Theme 会跟随系统主题(适用于 Windows 10 及以上版本),自动切换为 Light 或 Dark 模式。 若要手动设置为 Light 模式,可以使用 Theme="Light"。 你还可以自定义主题色,使用 Color="Fuchsia"(例如设置为 Fuchsia)--> <wd:Resources /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
Step 3: Control Using Add the namespace;