Version

CalcFrequency Enumeration

Determines how frequently the calculations are done by the UltraCalcManager.
Syntax
'Declaration
 
Public Enum CalcFrequency 
   Inherits System.Enum
public enum CalcFrequency : System.Enum 
Members
MemberDescription
AsynchronousCalculations will be performed on a timer. This frees the UI Thread, but means that calcuations may not always be current.
ManualUltraCalcManager never performs any calculations until the UltraCalcManager.ReCalc method is explicitly invoked.
SynchronousCalculations 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.
Remarks

This enumeration is used by the UltraCalcManager component to determine when calculations are performed.

Example
Demonstrates initializing the basic properties of the UltraCalcManager

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;
		}
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