Bug? Cannot change ItemHeight in Listview

galimpic

Member
Licensed User
Longtime User
I noticed that once you set Listview.SingleItemLayout.ItemHeight, you cannot change it (the new value is written to the property, but the actual display item height is not changed) unless you initialize the ListView again. Is that a bug?

Unrelated and minor: when Tag property in designer is selected, the explanation below still reads "A string value you can later retrieve", while as I recall Tag type was changed to Object some time ago.
 

galimpic

Member
Licensed User
Longtime User
OK, good to know it works as designed. So, if I want to have the list items occupy the whole height of the ListView without void area, I must initialize a new ListView each time the number of items change and add it to the parent panel. No problem. I will consider also solving the problem with more appopriate controls, maybe buttons... but lists are so convenient :)
 
Top