Spread Silverlight Documentation
Row Property (EditCellStartingEventArgs)
Example 


Gets the row index of the cell.
Syntax
'Declaration
 
Public ReadOnly Property Row As System.Integer
'Usage
 
Dim instance As EditCellStartingEventArgs
Dim value As System.Integer
 
value = instance.Row
public System.int Row {get;}

Property Value

The row index of the cell.
Example
This example uses the Row property.
private void gcSpreadSheet1_EditChange(object sender, GrapeCity.Windows.SpreadSheet.UI.EditCellEventArgs e)
        {
            listBox1.Items.Add(e.Column.ToString());
            listBox1.Items.Add(e.Row.ToString());
        }

private void gcSpreadSheet1_EditEnd(object sender, GrapeCity.Windows.SpreadSheet.UI.EditCellEventArgs e)
        {
            listBox1.Items.Add(e.Column.ToString());
            listBox1.Items.Add(e.Row.ToString());
        }

private void gcSpreadSheet1_EditStarting(object sender, GrapeCity.Windows.SpreadSheet.UI.EditCellStartingEventArgs e)
        {
            listBox1.Items.Add(e.Column.ToString());
            listBox1.Items.Add(e.Row.ToString());
        }

private void gcSpreadSheet1_ExcelError(object sender, GrapeCity.Windows.SpreadSheet.Data.ExcelErrorEventArgs e)
        {
            listBox1.Items.Add(e.ExcelWarning.Code.ToString());
        }
Private Sub GcSpreadSheet1_EditChange(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.EditCellEventArgs) Handles GcSpreadSheet1.EditChange
        ListBox1.Items.Add(e.Column.ToString())
        ListBox1.Items.Add(e.Row.ToString())
    End Sub

Private Sub GcSpreadSheet1_EditEnd(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.EditCellEventArgs) Handles GcSpreadSheet1.EditEnd
        ListBox1.Items.Add(e.Column.ToString())
        ListBox1.Items.Add(e.Row.ToString())
    End Sub

Private Sub GcSpreadSheet1_EditStarting(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.EditCellStartingEventArgs) Handles GcSpreadSheet1.EditStarting
        ListBox1.Items.Add(e.Column.ToString())
        ListBox1.Items.Add(e.Row.ToString())
    End Sub

Private Sub GcSpreadSheet1_ExcelError(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.Data.ExcelErrorEventArgs) Handles GcSpreadSheet1.ExcelError
        ListBox1.Items.Add(e.ExcelWarning.Code.ToString())
    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

EditCellStartingEventArgs Class
EditCellStartingEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.