I have a WPF application that runs on a touch screen computer. I’d like to change all of the scroll bars in the app to be much wider. Is there a way to do that globally?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yo have to
override the default template of scrollViewerto increase the width of vertical scrollbar. To apply the template across all your scrollbars put the override style in your App resources –You can set width of
'PART_VerticalScrollBar'to your desired width (say 40 as in example above).Placing this style underApplication Resources(App.xaml) makes it applied across complete application.