Avatar of Sid Price
Sid Price
Flag for United States of America

asked on 

WPF getting the indices of ListView displayed items

I have a ListView that is show a number of items. In order to have a reliable way of ensuring that a particular item is not only scrolled into view but also in the center of the display I need to discover the indices of the visible items. After much searching I cannot find a way of discovering the indices of the items currently in view. It seems all the examples I find are for virtualized ListViews and mine is a default view and not virtualized. The ListView only displays a list, no icon type view.ing

Thanks,
Sid.
Visual Basic.NET.NET ProgrammingMicrosoft Development

Avatar of undefined
Last Comment
Sid Price

8/22/2022 - Mon