We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set the Scroll Indicator Mode for ScrollViewer same as that of SfDataGrid when using touch and mouse interactions?

In WinRT, the Scroll Indicator Mode of ScrollViewer, that is, the size of the ScrollBar, differs while scrolling by touch or by mouse and it is the default behavior of ScrollViewer. You can see the same behavior in SfDataGrid while scrolling. By default, ScrollViewer contains separate VisualStates for touch and mouse to set the ScrollingIndicatorMode.

It is possible to change the scroll indicator the same way, when using touch or mouse, by customizing the default template of ScrollViewer as shown in the following code example.


In the above code example, ScrollingIndicatorMode is set as TouchIndicator for mouse interactions.

You can refer to the following sample link for customizing scroll indicator mode of ScrollViewer in SfDataGrid for both touch and mouse interactions.

Sample Link for WinRT: http://www.syncfusion.com/downloads/support/forum/119148/WinRT1866015514.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
5075 05/27/2015 05/27/2015 WPF SfDataGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon