Scroll to first checked item in a CheckedListBox
How do I programmat开发者_StackOverflowically scroll to the first checked item in a CheckedListBox?
Use TopIndex
property: http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.topindex.aspx
Maybe the ListBox.TopIndex property helps here:
Gets or sets the index of the first visible item in the ListBox.
精彩评论