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


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

    Property Value

    Integer index of the column
    Example
    private void fpSpread1_EnterCell(Object sender, FarPoint.Win.Spread.EnterCellEventArgs e) 
    {
        textBox1.Text = "You have entered cell " + e.Row + " - " + e.Column + " on sheet " + e.View.ActiveSheetIndex;
    }
    
    Private Sub FpSpread1_EnterCell(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EnterCellEventArgs) Handles FpSpread1.EnterCell
        TextBox1.Text = "You have entered cell " & e.Row & " - " & e.Column & " on sheet " & e.View.ActiveSheetIndex
    End Sub
    
    See Also