概要
This skill provides comprehensive patterns and best practices for overriding the visual structure of WPF controls. It enables developers to create bespoke UI components by mastering ControlTemplate implementation, optimizing performance with TemplateBinding, and managing complex visual states through property and event triggers. Whether you are building a custom branded design system or a complex interactive toggle switch, this skill guides you through essential XAML patterns, ContentPresenter configuration, and naming conventions like the PART_ prefix for robust .NET desktop application development.