Set a mutable dependency property using SetCurrentValue
ProprietaryAssigning a dependency property's CLR property, or calling SetValue, writes the local value and permanently outranks any binding, style, trigger or animation on that property. Replaces both with SetCurrentValue, which sets the effective value without changing the value source.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. UseSetCurrentValueForMutablePropertymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. UseSetCurrentValueForMutablePropertyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.