Class CalcQuick
A class that allows you to quickly add calculation support for controls on a form, or usercontrol.
Inherited Members
Namespace: Syncfusion.Windows.Calculate
Assembly: Syncfusion.Calculate.WPF.dll
Syntax
public class CalcQuick : CalcQuickBase, ISheetData, ICalcData, IDisposable
Constructors
CalcQuick()
Declaration
public CalcQuick()
Methods
RegisterControl(Control)
Used to register a control as a calculation object in this CalcQuick instance.
Declaration
protected virtual void RegisterControl(Control c)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Control | c | The control to register. |
Remarks
To reference this calculation object from another calculation in this CalcQuick object, you use the Control.Name string. The value of this calculation object is bound to the Control.Text property.
RegisterControlArray(Control[])
A Virtual method that registers an array of controls as formula objects in this CalcQuick instance.
Declaration
public virtual void RegisterControlArray(Control[] controls)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Control[] | controls | The control array. |
Events
TextChanged
Have a textbox to handle the textchanged event
Declaration
public event TextChangedEventHandler TextChanged
Event Type
Type |
---|
System.Windows.Controls.TextChangedEventHandler |
Implements
System.IDisposable