Syncfusion.Grid.Windows
Example 


GetCurrentVScrollPixelPos Method

Gets the current absolute vertical pixel position of the top most row.
Syntax
'Declaration
 
Public Function GetCurrentVScrollPixelPos() As Integer
'Usage
 
Dim instance As GridControlBase
Dim value As Integer
 
value = instance.GetCurrentVScrollPixelPos()
public int GetCurrentVScrollPixelPos()

Return Value

The vertical pixel scroll position.
Example
This example shows how to get the vertical pixel position.
int vScrollPos = this.gridControl1.GetCurrentVScrollPixelPos();
Console.WriteLine("CurrentVScroll position:" + vScrollPos);
Dim vScrollPos As Integer = Me.gridControl1.GetCurrentVScrollPixelPos()
Console.WriteLine("CurrentVScroll position:" & vScrollPos)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also