如何水平但按整列滚动 DevExpress Xtragrid

How to scroll a DevExpress Xtragrid horizontally but by full columns

我想水平滚动网格。默认情况下,它逐像素滚动。我想逐列滚动。简单地说,列应该移动到 left/right 100% 或 0%。不应滚动其宽度的一小部分。 (这适用于此时用户可见的第一列)。

我想要的是一种"snappy"滚动的方法。

我该如何完成?

要滚动网格的内容,请使用 GridView.LeftCoord property. To access boundaries of columns, the GridViewInfo.ColumnsInfo collection will be helpful. You can see how to implement this feature in the How to implement scrolling by columns in the grid e2481 示例。