StyleTypedProperty should be specified for a Style property

Proprietary

A DependencyProperty registered as typeof(Style) needs a matching [StyleTypedProperty] on its owning type for the designer to know what the style targets. Flags the backing member; the target type has to be chosen by hand.

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

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