Spread WPF 15
GrapeCity.Windows.SpreadSheet.UI Namespace / UserFormulaEnteredEventArgs Class / Column Property
Example


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

    Property Value

    The column index of the cell in which the user entered a formula.
    Example
    This example uses the Column property.
    private void gcSpreadSheet1_UserFormulaEntered(object sender, GrapeCity.Windows.SpreadSheet.UI.UserFormulaEnteredEventArgs e)
            {
                listBox1.Items.Add(e.Column.ToString());
                listBox1.Items.Add(e.Formula.ToString());
                listBox1.Items.Add(e.Row.ToString());
            }
    Private Sub GcSpreadSheet1_UserFormulaEntered(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.UserFormulaEnteredEventArgs) Handles GcSpreadSheet1.UserFormulaEntered
            ListBox1.Items.Add(e.Column.ToString())
            ListBox1.Items.Add(e.Formula.ToString())
            ListBox1.Items.Add(e.Row.ToString())
        End Sub
    See Also