Spread WPF Documentation
Formula Property (UserFormulaEnteredEventArgs)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > UserFormulaEnteredEventArgs Class : Formula Property
Gets the formula that the user entered.
Syntax
'Declaration
 
Public ReadOnly Property Formula As System.String
'Usage
 
Dim instance As UserFormulaEnteredEventArgs
Dim value As System.String
 
value = instance.Formula
public System.string Formula {get;}

Property Value

The formula that the user entered.
Example
This example uses the Formula 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

Reference

UserFormulaEnteredEventArgs Class
UserFormulaEnteredEventArgs Members