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;
Installs
3
GitHub Stars
36
First Seen
Feb 28, 2026
configuring-wpf-themeinfo — christian289/dotnet-with-claudecode