'Declaration Public Event BeforeCalculatePending As BeforeCalculatePendingEventHandler
public event BeforeCalculatePendingEventHandler BeforeCalculatePending
The event handler receives an argument of type OnCalculatePendingEventArgs containing data related to this event. The following OnCalculatePendingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
CurrentValue (Inherited from Infragistics.Win.UltraWinEditors.UltraWinCalc.OnCalculateImmediateEventArgs) | Gets/Sets CurrentValue |
CurrentValueDecimal (Inherited from Infragistics.Win.UltraWinEditors.UltraWinCalc.OnCalculateImmediateEventArgs) | Get/Sets the current value as decimal. |
Operation (Inherited from Infragistics.Win.UltraWinEditors.UltraWinCalc.OnCalculateImmediateEventArgs) | Operation string, this value may be changed by the user and handled by the user. |
PreviousValue | Gets/Sets CurrentValue |
PreviousValueDecimal | Get/Sets the current value as decimal. |
Private Sub UltraCalculatorDropDown1_BeforeCalculatePending(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinEditors.UltraWinCalc.OnCalculatePendingEventArgs) Handles UltraCalculatorDropDown1.BeforeCalculatePending ' This event occurs before a pending calculation has taken place. ' User clicks the = button for example. The ' event itself is cancellable. Debug.WriteLine("BeforeCalculatePending: Cancel = " + e.Cancel.ToString()) Debug.WriteLine(String.Format("Params: Operation {0}, Current Value {1}, Previous Value {2}", e.Operation, e.CurrentValue, e.PreviousValue)) End Sub
using System.Diagnostics; private void ultraCalculatorDropDown1_BeforeCalculatePending(object sender, Infragistics.Win.UltraWinEditors.UltraWinCalc.OnCalculatePendingEventArgs e) { // This event occurs before a pending calculation has taken place. // User clicks the = button for example. The // event itself is cancellable. Debug.WriteLine("BeforeCalculatePending: Cancel = " + e.Cancel.ToString()); Debug.WriteLine(string.Format("Params: Operation {0}, Current Value {1}, Previous Value {2}",e.Operation , e.CurrentValue, e.PreviousValue)); }
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