judian
judian

Reputation: 450

How do I get the Height of a ListViewItem in c#?

Is there any way to know the Height of a ListViewItem?

(I found it depended on the font size..)

Thanks, Yehudit

Upvotes: 1

Views: 2067

Answers (1)

butterbox
butterbox

Reputation: 452

try this:

int xh = ListView.GetItemRect(itemIndex).Height;

Upvotes: 4

Related Questions