1
Answer

Get bounding rectangle of a listbox item

Photo of le van kiet

le van kiet

15y
5.4k
1 Tutorials
Hi eveyone,

I can add a String or a ListBoxItem into Listbox.
When item of Listbox is a ListBoxItem, I can get rectangle by calling "ListBoxItem.PointToScreen(point)".
But if item of Listbox is a String, how can I get its rectangle?
Any help would be appreciated!

Kiet.

Answers (1)