Syncfusion.Grid.Windows


The row index. 0 if rows should not scroll.
The column index. 0 if columns should not scroll.
Specified if top row index and left col index should be changed without raising scroll events and without updating the screen (calling DoScroll). Used by GridNestedTableControl grids in GridGroupingControl. Normally this should be false for other scenarios.
The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.)

ProcessScrollCellInView Method (GridControlBase)

Called to scroll the specified cell into view.
Syntax
'Declaration
 
Public Overridable Function ProcessScrollCellInView( _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal dontScroll As Boolean, _
   ByVal reason As GridScrollCurrentCellReason _
) As Boolean
'Usage
 
Dim instance As GridControlBase
Dim rowIndex As Integer
Dim colIndex As Integer
Dim dontScroll As Boolean
Dim reason As GridScrollCurrentCellReason
Dim value As Boolean
 
value = instance.ProcessScrollCellInView(rowIndex, colIndex, dontScroll, reason)
public virtual bool ProcessScrollCellInView( 
   int rowIndex,
   int colIndex,
   bool dontScroll,
   GridScrollCurrentCellReason reason
)

Parameters

rowIndex
The row index. 0 if rows should not scroll.
colIndex
The column index. 0 if columns should not scroll.
dontScroll
Specified if top row index and left col index should be changed without raising scroll events and without updating the screen (calling DoScroll). Used by GridNestedTableControl grids in GridGroupingControl. Normally this should be false for other scenarios.
reason
The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.)

Return Value

True if scrolling the grid was necessary; False if the range was already in the visible area.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also