Reputation: 81
How can I synchronize the scrolling of two listviews in a C# Windows form application.
Example:
When listview2
moves up, listview1
also moves up.
Upvotes: 0
Views: 2433
Reputation: 68586
You should take a look at this project:
http://www.codeproject.com/Tips/197335/Synchronized-ListBox-objects-or-how-to-scroll-2-Li
Introduction to the project:
Couple of days ago I had a task where I must synchronize two ListBox objects. I have found out, that the ListBox object doesn't have any property which allow to accomplish this. After a few hours of googling I found code of class that inherited from ListBox class. Here is the code of that class:
Upvotes: 2