Shortest way to create rows/columns for Grid for WPF/UWP/WinUI/Uno/Avalonia platforms
Install-Package H.XamlExtensions.Wpf
Install-Package H.XamlExtensions.Uno
Install-Package H.XamlExtensions.Uno.WinUI
Install-Package H.XamlExtensions.Uwp
Install-Package H.XamlExtensions.WinUI
Install-Package H.XamlExtensions.Avalonia
// WPF
xmlns:e="clr-namespace:H.XamlExtensions;assembly=H.XamlExtensions.Wpf"
// UWP/WinUI/Uno/Avalonia
xmlns:e="using:H.XamlExtensions"
<!-- Auto,50*,50*,Auto -->
<Grid e:GridExtensions.ColumnsAndRows="A,50*,50*,A;A,50*,50*,A"/>
<!-- *[MinWidth: 300, MaxWidth: 400],Auto -->
<Grid e:GridExtensions.Rows="*[300-400],Auto"/>
<!-- *[MinWidth: 300],* -->
<Grid e:GridExtensions.Rows="*[300],*"/>
<!-- *[MaxWidth: 300],* -->
<Grid e:GridExtensions.Rows="*[0-300],*"/>