native-windows-gui
native-windows-gui copied to clipboard
Is there a way to set an IntegralHeight for a ListBox?
By default, the height of the ListBox component is only set to a multiple of the item height. This feature makes it difficult to arrange the layout of my software in a way that looks good.
The original ListBox component is configured to provide an IntegralHeight Property, which allows you to turn off this feature. I did not find this feature in the native-windows-gui. If there is a way to enable this feature, please let me know.
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.listbox.integralheight?view=windowsdesktop-7.0