zhangyiying
zhangyiying

Reputation: 424

Multiple listboxes scroll at same time?

I have 3 listboxes and I want to scroll one meanwhile others also are scrolling. I can scroll by mousewheel and drag scrollbar.

Upvotes: 5

Views: 5069

Answers (2)

Willem
Willem

Reputation: 9476

Here you go:

Two listbox scrollbar in synchronisation

Upvotes: 4

Adi Lester
Adi Lester

Reputation: 25201

Have a look at this article. It shows how this can be done by using binding and RenderTransform.

Another thing you might want to check is the ScrollViewer.ScrollChanged event. You can possibly listen to this event and set the scrolling for your listboxes as necessary.

Upvotes: 1

Related Questions