Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Loop listbox items in circular manner of Listbox

$
0
0

I have a listbox with the horizontal scroll enabled and with some 20 items. Now the listbox's width (as its horizontal scroll) is not enough to show all items together. The user will scroll it left to right or vice versa. 

I want when the user reaches either end of the listbox, the listbox should loop around. Say user reaches item 20 so instead of listbox stopping there it should automatically show item 1 and then so on.. 

Any ideas on how this can be implemented? This might not be consistent with the way listbox is designed but I need to implement this functionality.


Kavitesh Singh.

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>