Syncfusion.Grid.Windows


ScrollWindow Method (GridControlBase)

Scrolls the contents of the control similar to the ScrollWindow Windows API.
Syntax
'Declaration
 
Public Overrides Function ScrollWindow( _
   ByVal xAmount As Integer, _
   ByVal yAmount As Integer, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle, _
   ByVal allowUpdate As Boolean _
) As Rectangle
'Usage
 
Dim instance As GridControlBase
Dim xAmount As Integer
Dim yAmount As Integer
Dim rect As Rectangle
Dim clipRect As Rectangle
Dim allowUpdate As Boolean
Dim value As Rectangle
 
value = instance.ScrollWindow(xAmount, yAmount, rect, clipRect, allowUpdate)

Parameters

xAmount
yAmount
rect
clipRect
allowUpdate
Remarks
The method will raise a WindowScrolling event before the contents are scrolled and a WindowScrolled event after the contents have been scrolled.

If DisableScrollWindow is True, any calls to the ScrollWindow method will simply invalidate the affect region. The rendering origin will still be recorded correctly and WindowScrolling and WindowScrolled events will be raised.

If DisableScrollWindow is False, ScrollWindow will scroll the contents of the control.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also