Spread WPF 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 (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.