How do I know if the rendered listboxItem is in a WPF ListBox? I want to get the list box items that are displayed in the screen, because I want to move the item at the bottom to the top of the screen like when auto-scrolling.
I already searched Google, but couldn't find an answer, and I used a method like below but it didn't work on rendered items:
MyViewModel myViewModel = LbList.Items.getItemAt(0);
LbChatList.ScrollIntoView(myViewModel);