Use containing type
ProprietaryDefaultStyleKeyProperty.OverrideMetadata must be given the containing type as the default style key, or the control picks up another type's default template. Flags a FrameworkPropertyMetadata constructed with a different type.
OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. FindDefaultStyleKeyOverrideMetadataArgumentmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Wpf. FindDefaultStyleKeyOverrideMetadataArgumentInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.