Version

DeferredCalculationsEnabled Property

Gets / Sets whether certain calculations can be deferred to optimize calculation of visible objects.
Syntax
'Declaration
 
Public Property DeferredCalculationsEnabled As Boolean
public bool DeferredCalculationsEnabled {get; set;}
Remarks

When true, certain calculations will be deffered if they are not visible. This is mainly used for iterated calculations, such as UltraGrid cells. If possible, cells that are in view will be calculated before cells that are out of view.

Note that in some cases, deferring calcalations is not possible. For example, if there is a Summary on a column, then all the values in the column must be calculated before the summary can be calculated.

Example
Following code sets the DeferredCalculationsEnabled to false.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Imports Infragistics.Win.CalcEngine
Imports Infragistics.Win.UltraWinCalcManager

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ' By default the cells that are not visible in an UltraGrid may not get
        ' calculated until they become visible. Set the DeferredCalculationsEnabled 
        ' to false to change this behavior so the calc manager does not defer
        ' calculations of cells until they are shown.
        ' 
        Me.ultraCalcManager1.DeferredCalculationsEnabled = False
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;
using Infragistics.Win.CalcEngine;
using Infragistics.Win.UltraWinCalcManager;

		private void Form1_Load(object sender, System.EventArgs e)
		{
			// By default the cells that are not visible in an UltraGrid may not get
			// calculated until they become visible. Set the DeferredCalculationsEnabled 
			// to false to change this behavior so the calc manager does not defer
			// calculations of cells until they are shown.
			// 
			this.ultraCalcManager1.DeferredCalculationsEnabled = false;
		}
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