Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

I'm getting the hang of this now... No really I am!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...