Syncfusion.Grid.Windows
Example 


GetCurrentHScrollPixelPos Method

The current scroll position for pixel scrolling
Syntax
'Declaration
 
Public Function GetCurrentHScrollPixelPos() As Integer
'Usage
 
Dim instance As GridControlBase
Dim value As Integer
 
value = instance.GetCurrentHScrollPixelPos()
public int GetCurrentHScrollPixelPos()

Return Value

Current scroll position.
Example
This example shows how to get horizontal pixel position.
int hScrollPixelPos = gridControl1.GetCurrentHScrollPixelPos();
Console.WriteLine("CurrentVScroll position:" + hScrollPixelPos);
Dim hScrollPixelPos As Integer = gridControl1.GetCurrentHScrollPixelPos()
Console.WriteLine("CurrentVScroll position:" & hScrollPixelPos)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also