Containing type should be used as registered owner
ProprietaryA 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. UseContainingTypeAsRegisteredOwnermod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. UseContainingTypeAsRegisteredOwnerInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.