Cast the value of a dependency property callback to the correct type
ProprietaryThe value a PropertyChangedCallback, CoerceValueCallback or ValidateValueCallback receives is the type the property was registered with. Replaces a cast, as, is or case conversion naming a type the value can never be with the registered type.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. CastValueToCorrectTypemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. CastValueToCorrectTypeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.