Add [AttachedPropertyBrowsableForType]

Proprietary

The static Get accessor of an attached property should be annotated with [AttachedPropertyBrowsableForType(typeof(T))] so the XAML designer offers the property on elements of type T. Adds the attribute naming the accessor's parameter type.

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

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