Spread Windows Forms 15.0
Spread Windows Forms 15.0 Product Documentation / Developer's Guide / Touch Support with the Component / Using Touch Support / Using Touch Support with Scrolling
In This Topic
    Using Touch Support with Scrolling
    In This Topic

    You can use touch gestures when scrolling in the control.

    You can tap the scroll bar or press and slide the scroll bar to scroll. You can also use panning gestures in the cell area of the control (vertical, horizontal, diagonal, or oblique). Panning in the diagonal direction scrolls horizontally and vertically. Specify the type of panning mode with the PanningMode property.

    Horizontal Panning

    Vertical Panning

    Diagonal Panning

    You can specify feedback when scrolling with the BoundaryFeedbackMode property (standard or split). For more information on standard, see BeginPanningFeedback function (uxtheme.h). The Split option separates frozen and scrollable areas or headers and scrollable areas.

    Using Code

    This example sets the PanningMode property to allow horizontal and vertical panning and specifies the type of feedback.

    CS
    Copy Code
    fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both;
    fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split;
    
    VB
    Copy Code
    fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both
    fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split
    
    See Also