defining-wpf-dependencyproperty

Installation
SKILL.md

WPF DependencyProperty Patterns

Defining dependency properties for data binding, styling, animation, and property value inheritance.

Advanced Patterns: See ADVANCED.md for value inheritance, metadata override, and event integration.

1. DependencyProperty Overview

Standard CLR Property:
    private string _name;
    public string Name { get => _name; set => _name = value; }

DependencyProperty:
    public static readonly DependencyProperty NameProperty = ...
    public string Name { get => (string)GetValue(NameProperty); set => SetValue(NameProperty, value); }
Installs
3
GitHub Stars
36
First Seen
Feb 28, 2026
defining-wpf-dependencyproperty — christian289/dotnet-with-claudecode