GrapeCity.Xaml.SpreadSheet.UI
SetActiveCell Method (SheetView)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : SetActiveCell Method
The active row index.
The active column index.
if set to true clears the old selection.
Sets the active cell of the sheet.
Syntax
'Declaration
 
Public Sub SetActiveCell( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal clearSelection As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim clearSelection As Boolean
 
instance.SetActiveCell(row, column, clearSelection)
public void SetActiveCell( 
   int row,
   int column,
   bool clearSelection
)

Parameters

row
The active row index.
column
The active column index.
clearSelection
if set to true clears the old selection.
Example
This example uses the SetActiveCell method.
GcSpreadSheet1.View.SetActiveCell(0, 4, false);
GcSpreadSheet1.View.SetActiveCell(0, 4, False)
See Also

Reference

SheetView Class
SheetView Members