Spread Silverlight Documentation
EnterCell Event (GcSpreadSheet)
Example 


Occurs when the user enters a cell.
Syntax
'Declaration
 
Public Event EnterCell As System.EventHandler(Of EnterCellEventArgs)
'Usage
 
Dim instance As GcSpreadSheet
Dim handler As System.EventHandler(Of EnterCellEventArgs)
 
AddHandler instance.EnterCell, handler
public event System.EventHandler<EnterCellEventArgs> EnterCell
Event Data

The event handler receives an argument of type EnterCellEventArgs containing data related to this event. The following EnterCellEventArgs properties provide information specific to this event.

PropertyDescription
ColumnGets the row index of the cell being entered.  
RowGets the column index of the cell being entered.  
Example
This example uses the EnterCell event.
void gcSpread1_EnterCell(object sender, EnterCellEventArgs e)
{
    gcSpreadSheet1.View.StartCellEditing(false);
}
Private Sub GcSpreadSheet1_EnterCell(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.EnterCellEventArgs)
        GcSpreadSheet1.View.StartCellEditing(False)
End Sub
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

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.