'Declaration Public Event FormulaCalculationError As EventHandler(Of FormulaCalculationErrorEventArgs)
public event EventHandler<FormulaCalculationErrorEventArgs> FormulaCalculationError
The event handler receives an argument of type FormulaCalculationErrorEventArgs containing data related to this event. The following FormulaCalculationErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Context (Inherited from Infragistics.Calculations.FormulaErrorEventArgsBase) | Gets the context for the formula error. |
ErrorDisplayText (Inherited from Infragistics.Calculations.FormulaErrorEventArgsBase) | Returns or sets the error message to display. |
ErrorInfo | Gets the Infragistics.Calculations.Engine.CalculationErrorValue. |
ErrorValue | Gets the value that's in error. |
FormulaCalculationError event is raised when solving a formula results in an error. The event arguments contain the error value to be set on the target of the formula. This error value can be changed but the new value will not affect other calculations which reference the erroneous formula.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2