TouchToolKit for WinForms | ComponentOne
Zooming Component / C1Zoom Scrolling Appearance and Behavior / C1Zoom Railed Scrolling
In This Topic
    C1Zoom Railed Scrolling
    In This Topic

    When you pan the horizontal or vertical direction first, it will lock the scroll direction so you can only scroll in horizontal or vertical direction. This is called "Railed" scrolling. You can freely touch and move your finger on the screen, so the Railed Scrolling is helpful to make a better scroll result.

    You can disable the Railed Scrolling by setting the C1Zoom.IsHorizontalRailEnabled property and C1Zoom.IsVerticalRailEnabled property to False, like the following code:

    Visual Basic
    Copy Code

    C1Zoom1.IsHorizontalRailEnabled = False

    C1Zoom1.IsVerticalRailEnabled = False

    C#
    Copy Code

    c1Zoom1.IsHorizontalRailEnabled = false;

    c1Zoom1.IsVerticalRailEnabled = false;