Containing type should be used as registered owner
ProprietaryA RoutedEvent must name the type that declares it as owner in its EventManager.RegisterRoutedEvent call. Replaces the typeof(...) owner argument with the containing type.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. RegisterContainingTypeAsRoutedEventOwnermod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. RegisterContainingTypeAsRoutedEventOwnerInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.