Version

AsynchronousCalcDuration Property

The duration in milliseconds that the CalcManager will use to perform calculations each time the AsynchronousCalculationInterval passes.
Syntax
'Declaration
 
Public Property AsynchronousCalcDuration As Integer
public int AsynchronousCalcDuration {get; set;}
Remarks

This property only applies when CalcFrequency is set to Asynchronous.

AsynchronousCalcDuration determines how much time is used by the CalcManager to perform pending calculations. Each time the interval specified by AsynchronousCalcInterval passes, the CalcManager will begin performing any neccessary calculations. If there are still calculations pending when the time expires, then some calculations will be left in a dirty state until the next time ReCalc is called or the Interval passes again.

To force all calculations to be completed each time the Interval passes, set this property to -1.

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