Convert a CLR event to a routed event
ProprietaryA CLR event on an element cannot be routed through the element tree or handled by a parent. Registers a RoutedEvent for it with EventManager.RegisterRoutedEvent and rewrites the event to add/remove accessors calling AddHandler/RemoveHandler.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. ConvertEventToRoutedEventmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. ConvertEventToRoutedEventInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.