# microsoft/WPF-Samples

Repository for WPF related samples

Repository: https://github.com/microsoft/WPF-Samples
Canonical: https://ross.abutalabs.com/products/wpf-samples
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-19T02:23:07+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 4158, "days_push": 15, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5735, forks 3277 (observed 2026-08-28T04:09:28.368807+00:00)

## What it is
Microsoft's official collection of samples demonstrating Windows Presentation Foundation (WPF) API usage patterns and popular features, retargeted to .NET 10. It includes sample applications like data binding demos, custom controls, and getting-started walkthroughs.

## Use cases
- learn WPF data binding with example code
- see how to build a first WPF desktop app
- find sample implementations of custom WPF controls
- reference WPF accessibility best practices
- explore WPF API usage patterns on modern .NET
- get example XAML and C# code for Windows desktop UI

## When to choose
- you are learning or teaching WPF development on .NET
- you need official, maintained example code for WPF features
- you want reference implementations to copy patterns from

## When to avoid
- you are building cross-platform desktop apps (consider Avalonia or MAUI)
- you need production-ready application code rather than illustrative samples
- you target .NET Framework 4.x without using the archived netframework branch

## Facets
- artifact type: learning-resource
- maturity: active
- function: ui-components, developer-tools
- domain: desktop-applications, windows, tutorials, web-development
- platform: windows, dotnet, c
- tags: wpf, samples, xaml, desktop-development, microsoft, net

## Member repositories
- microsoft/WPF-Samples (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.368807+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:53:22.393064+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/WPF-Samples (fetched 2026-08-28T04:09:28.368807+00:00, sha 48d8ccfc2527)
- Data as of 2026-08-30T08:39:29.467469+00:00.
