configuring-wpf-themeinfo
Installation
SKILL.md
WPF ThemeInfo Configuration
Configuring the ThemeInfo attribute for automatic Generic.xaml loading in WPF Custom Control Library projects.
Overview
WPF uses the ThemeInfo attribute to locate theme-specific and generic resource dictionaries at runtime. Without this attribute, Themes/Generic.xaml will not be loaded automatically, and CustomControl styles will not be applied.
1. AssemblyInfo.cs Configuration
Required Code
// Properties/AssemblyInfo.cs
using System.Windows;