← All recipes
Moderne licensed

Find WPF Grid usage (star-column allocation change)

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindWpfGridStarAllocationArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

The WPF Grid star-column space allocation algorithm was replaced when retargeting to .NET Framework 4.7 (Switch.System.Windows.Controls.Grid.StarDefinitionsCanExceedAvailableSpace=true restores the old algorithm). Review layouts that depend on the previous star-sizing behavior.

Single recipesearchdotnetnet-frameworkwpfProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindWpfGridStarAllocation

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet