Add [AttachedPropertyBrowsableForType]
ProprietaryThe 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. AddAttachedPropertyBrowsableForTypeAttributemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. AddAttachedPropertyBrowsableForTypeAttributeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.