Version

BeforeActionButtonPressed Event (CalculatorEngine)

Fires on before action occurs, allowing user to cancel default calculation and or change the values
Syntax
'Declaration
 
Public Event BeforeActionButtonPressed As BeforeCalculateImmediateEventHandler
public event BeforeCalculateImmediateEventHandler BeforeActionButtonPressed
Event Data

The event handler receives an argument of type OnCalculateImmediateEventArgs containing data related to this event. The following OnCalculateImmediateEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
CurrentValue Gets/Sets CurrentValue
CurrentValueDecimal Get/Sets the current value as decimal.
Operation Operation string, this value may be changed by the user and handled by the user.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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

See Also