[Enhancement] Support Min|Max Height|Width on Grid Column|Row Definition
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
## Summary
Support Minimum and Maximum Width/Height of Grid Column/Row definitions.
Same as WinUI:
- [ColumnDefinition.MinWidth](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.columndefinition.minwidth)
- [ColumnDefinition.MaxWidth](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.columndefinition.maxwidth)
- [RowDefinition.MinHeight](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.rowdefinition.minheight)
- [RowDefinition.MaxHeight](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.rowdefinition.maxheight)
## API Changes
````cs
public class ColumnDefinition
{
...
double MinWidth { get; set; }
double MaxWidth { get; set; }
}
public class RowDefinition
{
...
double MinHeight { get; set; }
double MaxHeight { get; set; }
}
````
## Intended Use Case
Define more responsive & dynamic Grid layout sizes
Contributor guide
Assessment
This issue has not been assessed yet.