Containing type should be used as registered owner

Proprietary

A DependencyProperty must name the type that declares it as owner, otherwise WPF cannot resolve it for that type. Replaces the typeof(...) owner argument with the containing type.

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseContainingTypeAsRegisteredOwner
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.UseContainingTypeAsRegisteredOwner

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.