optimizing-wpf-memory

Installation
SKILL.md

WPF Memory Optimization

1. Freezable Pattern

Why Freeze?

Benefit Description
Thread-safe Can be used across threads
No change tracking Reduces overhead
Renderer optimization Better GPU utilization

Basic Usage

// Always freeze static resources
var brush = new SolidColorBrush(Colors.Red);
brush.Freeze();
Installs
3
GitHub Stars
36
First Seen
Feb 28, 2026
optimizing-wpf-memory — christian289/dotnet-with-claudecode