Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ChangeEventArgs Class / Column Property
Example


In This Topic
    Column Property (ChangeEventArgs)
    In This Topic
    Gets the column index of the cell that is changed.
    Syntax
    'Declaration
     
    Public ReadOnly Property Column As Integer
    'Usage
     
    Dim instance As ChangeEventArgs
    Dim value As Integer
     
    value = instance.Column
    public int Column {get;}

    Property Value

    Integer index of the column of the changed cell
    Example
    private void fpSpread1_Change(object sender, FarPoint.Win.Spread.ChangeEventArgs e)
    {
        MessageBox.Show("You've changed the data in Row - " + e.Row + "/Column - " + e.Column + " of Sheet " + e.View.ActiveSheetIndex.ToString());
    }
    
    Private Sub FpSpread1_Change(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ChangeEventArgs) Handles FpSpread1.Change
        MessageBox.Show("You've changed the data in Row - " & e.Row & "/Column - " & e.Column & " of Sheet " & e.View.ActiveSheetIndex.ToString())
    End Sub
    
    See Also