Syncfusion.Grid.Windows


The row index of current cell.
The column index of current cell.
The current list of selected ranges.

ChangeSelectionState Method (GridControl)

Records current selection state - current cell and selected ranges. Will be used for restoring selections when performing undo / redo,
Syntax
'Declaration
 
Public Sub ChangeSelectionState( _
   ByVal currentRow As Integer, _
   ByVal currentCol As Integer, _
   ByVal ranges() As GridRangeInfo _
) 
'Usage
 
Dim instance As GridControl
Dim currentRow As Integer
Dim currentCol As Integer
Dim ranges() As GridRangeInfo
 
instance.ChangeSelectionState(currentRow, currentCol, ranges)
public void ChangeSelectionState( 
   int currentRow,
   int currentCol,
   GridRangeInfo[] ranges
)

Parameters

currentRow
The row index of current cell.
currentCol
The column index of current cell.
ranges
The current list of selected ranges.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also