GrapeCity.Xaml.SpreadSheet.UI
Formula Property (UserFormulaEnteredEventArgs)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > UserFormulaEnteredEventArgs Class : Formula Property
Gets the formula that the user entered.
Syntax
'Declaration
 
Public ReadOnly Property Formula As String
'Usage
 
Dim instance As UserFormulaEnteredEventArgs
Dim value As String
 
value = instance.Formula
public 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.Xaml.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 Object, e As GrapeCity.Xaml.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