'Declaration Public Enum CalcFrequency Inherits System.Enum
public enum CalcFrequency : System.Enum
Member | Description |
---|---|
Asynchronous | Calculations will be performed on a timer. This frees the UI Thread, but means that calcuations may not always be current. |
Manual | UltraCalcManager never performs any calculations until the UltraCalcManager.ReCalc method is explicitly invoked. |
Synchronous | Calculations are performed every time a change notifiation is recieved. That is, every time a value involved in a calculation is changed, all dirtied calculations are recalculated and the UI thread is locked until all calculations are complete. |
This enumeration is used by the UltraCalcManager component to determine when calculations are performed.
Imports Infragistics.Win.UltraWinCalcManager Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraCalcManager1.CalcFrequency = CalcFrequency.Asynchronous Me.UltraCalcManager1.AsynchronousCalcDuration = 100 Me.UltraCalcManager1.AsynchronousCalcInterval = 20 Dim errorIcon As Icon = New Icon("C:\Error Icon.ico") Me.UltraCalcManager1.ErrorIcon = errorIcon Me.UltraCalcManager1.ErrorIconAlignment = CalcErrorIconAlignment.MiddleLeft End Sub
using Infragistics.Win.UltraWinCalcManager; private void Form1_Load(object sender, System.EventArgs e) { this.ultraCalcManager1.CalcFrequency = CalcFrequency.Asynchronous; this.ultraCalcManager1.AsynchronousCalcDuration = 100; this.ultraCalcManager1.AsynchronousCalcInterval = 20; Icon errorIcon = new Icon(@"C:\Error Icon.ico"); this.ultraCalcManager1.ErrorIcon = errorIcon; this.ultraCalcManager1.ErrorIconAlignment = CalcErrorIconAlignment.MiddleLeft; }
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