WPF Scroll Button (Hold down functionality)
I have a listbox of items that I am using, and I have a button I made which scrolls up and down, but the only problem is, that you have to click every single time you want to scroll up and down a bit. I am looking for the functionality to simply hold down on the button and have it scroll.. is this possible in WPF? Perhaps I am overlooking something? I searched the internet and haven't found anything like it. Perhaps someone has done t开发者_运维知识库his before?
Any input would be appreciated, thanks!
Try a RepeatButton. It's what WPF uses for the buttons at the end of scrollbars.
Use a RepeatButton.
精彩评论