I want my listbox to never scroll. It's easy to just hide/disable the scrollbars, but mousewheel/arrow keys still cause a scroll when the items in the ListBox exceed its boundaries. There HAS to be some way to tell the ListBox that it just can't ever scroll....right?
+1
A:
You may be able to delete the scroll view? scroll bar from the ListBox template. see if that works
Brian Leahy
2010-02-11 20:44:16
This answer is correct: Editing the ListBox template and removing the ScrollViewer from it will actually accomplish what was requested. But I too am puzzled about why you would ever want to do this in the first place.
Ray Burns
2010-02-12 23:36:31
I need to be able to detect a certain condition in which the Listbox cannot scroll, it's not really bizarre. It is synced with a rendered component and if that component is currently not allowed to scroll, either can this listbox.
Kamiikoneko
2010-02-19 00:05:36