WPF-Samples is a collection of code examples demonstrating Windows Presentation Foundation API usage patterns and features for .NET desktop applications.
The repository addresses the need for practical, working examples of WPF concepts and patterns. It provides samples that illustrate specific API usage scenarios, ranging from introductory walkthroughs like ExpenseItIntro to more advanced demonstrations covering data binding, custom controls, and editing patterns. The samples have been migrated from MSDN and retargeted to current .NET versions, with an archive branch preserving examples for older framework versions.
Developers should use this repository as a reference when learning WPF or when implementing specific features. It suits projects targeting .NET desktop applications where understanding established patterns and best practices matters. The repository explicitly notes that while most samples prioritize concept illustration over accessibility best practices, a subset of examples do demonstrate proper accessibility implementation, making those particularly valuable for teams building accessible applications.
The project receives issues from both the core team and external users, indicating real-world adoption without excessive support burden. Responses to issues and pull requests typically arrive within one to two weeks. Development activity concentrates on the WPF Gallery sample application, work-in-progress improvements, and accessibility enhancements.