How To Scroll To Bottom Of Listbox

[Solved] How To Scroll To Bottom Of Listbox | Swift - Code Explorer | yomemimo.com
Question : How to scroll to bottom of ListBox

Answered by : bewildered-badger-jh2zw9xeie70

int visibleItems = listBox.ClientSize.Height / listBox.ItemHeight;
listBox.TopIndex = Math.Max(listBox.Items.Count - visibleItems + 1, 0);

Source : https://stackoverflow.com/questions/8796747/how-to-scroll-to-bottom-of-listbox | Last Update : Fri, 13 May 22

Answers related to how to scroll to bottom of listbox

Code Explorer Popular Question For Swift