
Hi,
How could I change row height of property grid? I'd like to make rows slightly smaller (the same height as they are in VisualStudio).
Best regards,
Darisz Wąsacz,
InstalSoft
Hi,
How could I change row height of property grid? I'd like to make rows slightly smaller (the same height as they are in VisualStudio).
Best regards,
Darisz Wąsacz,
InstalSoft
Hi Dariusz,
The PropertyGrid.xaml file has a MinHeight of 20 set up in the themes:PropertyGridResourceKeys.NameCellContainerStyleKey's Template. That and/or some of the paddings in that template might need to be tweaked to be smaller.
Rows also stretch taller as needed based on the height of the property editors. On my machine, most of the property editors are 21px tall or so. You would need to probably clone and update all the property editor templates you use to have smaller heights as well.
Please log in to a validated account to post comments.