Control's size is incorrect when in a grid column with Width="auto" and MaxWidth="100"
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
Control's size is incorrect when in a grid column with Width="auto" and MaxWidth="100"
### Reproduction Steps
1. Create new project targeting net8.0-windows
2. Add the following code to `MainWindow.xaml`
```
```
3. Run the project.
### Expected behavior
The TextBlock's width should be 100 and the text should be wrapped. If I drag the GridSplitter, The width of TextBlock becomes correct.

### Actual behavior
The TextBlock's width is its desired width and the text is not wrapped.

### Regression?
_No response_
### Known Workarounds
_No response_
### Impact
_No response_
### Configuration
_No response_
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.