Spread Silverlight Documentation
SetActiveCell Method (SheetView)
Example 


GrapeCity.Windows.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 System.Integer, _
   ByVal column As System.Integer, _
   ByVal clearSelection As System.Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As System.Integer
Dim column As System.Integer
Dim clearSelection As System.Boolean
 
instance.SetActiveCell(row, column, clearSelection)
public void SetActiveCell( 
   System.int row,
   System.int column,
   System.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