CommunityToolkit / WindowsCommunityToolkit

The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
https://docs.microsoft.com/windows/communitytoolkit/
Other
5.89k stars 1.38k forks source link

[Feature] DataGrid's Row cell height should be overridable #4964

Open paulovila opened 10 months ago

paulovila commented 10 months ago

Describe the problem

Setting the height in rows thorough the DataGrid.RowHeight can't go less than 32 because the DataGridCell is specifying a MinValue of 32

Describe the solution

If DataGrid.RowHeight is set then DataGridCell.MinHeight has no saying, therefore it has to be overridden, adjusting to DataGrid.RowHeight, (set to Auto). If DataGrid.RowHeight is not set, a static resource should be defined so that it can be overridden like any other static resource can do

Alternatives

No response

Additional info

No response

Help us help you

Yes, I'd like to be assigned to work on this item.

ghost commented 10 months ago

Hello, 'paulovila! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!