Spread WPF Documentation
Formula Property (UserFormulaEnteredEventArgs)
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

UserFormulaEnteredEventArgs Class
UserFormulaEnteredEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.