Spread Silverlight Documentation
SetActiveCell Method (SheetView)
Example 


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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.