MultiRow Windows Forms > Developer's Guide > Using MultiRow > Multi-touch Features > Scrolling |
In MultiRow, you can scroll the screen by sliding your finger on the grid. This section describes the feature to scroll the grid using touch gestures.
You can set the direction in which you can scroll using touch with the PanningMode property.
PanningMode property | None | HorizontalOnly | VerticalOnly | HorizontalOrVertical | Both |
---|---|---|---|---|---|
Scroll direction |
This example sets the PanningMode property.
GcMultiRow1.PanningMode = GrapeCity.Win.MultiRow.MultiRowPanningMode.Both |
gcMultiRow1.PanningMode = GrapeCity.Win.MultiRow.MultiRowPanningMode.Both; |
The BoundaryFeedbackMode property sets the operation when the scroll has reached the edge of the screen. Split shows a split visual feedback of the row section region (region except the column header section and the column footer section), and Standard causes the parent window containing the GcMultiRow control to have a visual feedback.
BoundaryFeedbackMode property | Standard | Split |
---|---|---|
Boundary Behavior |
This example sets the BoundaryFeedbackMode property.
GcMultiRow1.BoundaryFeedbackMode = GrapeCity.Win.MultiRow.BoundaryFeedbackMode.Split |
gcMultiRow1.BoundaryFeedbackMode = GrapeCity.Win.MultiRow.BoundaryFeedbackMode.Split; |
If the HorizontalScrollMode property is set to Cell, the scroll by touch operation moves in pixels, even if the VerticalScrollMode property is set to Row. In this case, when you release your finger from the screen, the scroll position moves such that all the cells displayed in the top-left are displayed.
In MultiRow, you can scroll the screen by pressing the scroll button. In addition, you can also scroll by sliding the scroll bar.