Hi,
How can I enable the Gesture scrolling for the RadPageView pages ( either for touch screens or using Smart Gestures ): so I can use both Gestures and RadPageViewStrip buttons ?
Also for the RadScrollablePanel can the the gestures be used besides to the right side scroll bar ?
Thanks
5 Answers, 1 is accepted
Hi, Fahmi,
Telerik UI for WinForms suite provides full multi-touch support. All controls in the suite are exposing several events which grant the developer the ability to easily handle gestures on touch devices.
Please refer to the following help article demonstrating how you can plug into the touch gestures and execute the desired custom logic: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/touch-support
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).
Hi Dess,
Thanks for the documentation, lot of interesting data.
I was wondering if you could help me with a code sample of scrolling with Gesture in the below cases:
- Rad Page view Header : I've set it's width to 100 px with images and Text.
- Rad Scrollable Panel: I've also drawn multiple image and a scroll with gesture will be awsome to have.
Thanks in advance,
Fahmi
A sample approach how to scroll the page tabs in RadPageView is demonstrated in the following forum thread: https://www.telerik.com/forums/scrolling-question-cc02da7c9c40
Even though it is relevant for PageViewMode.ExplorerBar, it can be adopted for the rest of the modes. It is just necessary to cast the ViewElement to the respective type. The provided code snippet simulates scrolling with the mouse wheel. You can execute a similar logic in the gesture you detect in RadPageView.
As to the RadScrollablePanel, in order to achieve programmatic scrolling, you can use the PerformLargeIncrement and PerformLargeDecrement method of the RadScrollablePanel.VerticalScrollbar.
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Dess,
I've just discovered the "Navigation View mode" and I loved it.
I was just wondering why the scroll buttons are not automatically added ( I've added 15 page view but only 9 are visible) ? and How could we add them like the scroll buttons in the Strip mode.
Many thanks,
Fahmi
Indeed, the scroll buttons are not displayed in navigation view.
We already have a similar request logged in our feedback portal. You can track its progress, subscribe for status changes and add your comments on the following link - https://feedback.telerik.com/winforms/1372942-add-radpageview-setting-in-the-navigationview-allowing-selection-of-the-page-view-items-when-there-is-not-enough-space-and-the-items-container-cannot-fit-the-available-space
Currently, the possible solution that I can suggest is to use the arrow keys for pages navigation.
Should you have further questions please let me know.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.