How to get Listview height when using groups?

Reapz

Regular
Joined
Dec 15, 2002
Messages
74
I have a form with a ListView and a DataGridView. The form resizes itself depending on how much info is in these two controls.

Resizing the DataGridView was easy because I just added up the Row heights. The ListView should be easy too because I can use ListViewItem.Bounds.Height to get the height of each item. But no...

I am using Groups in my ListView and I can't see how to return the height of the Group.Header as they have no Height property.

Any ideas?
 
Back
Top