バージョン

DirtyAllFormulas メソッド

再計算するためにすべての数式をダーティにします。
シンタックス
'宣言
 
Public Sub DirtyAllFormulas() 
public void DirtyAllFormulas()
解説

このメソッドにより、UltraCalcManager はすべての既存の数式をダーティーとしてマークします。これは次回計算操作が実行された時にすべての数式が再計算されることを意味します。CalcFrequency プロパティに基づいていつ計算するかを決定します。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Imports Infragistics.Win.CalcEngine
Imports Infragistics.Win.UltraWinCalcManager


    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
        ' Typically there is no need to call DirtyAllFormulas method. It's purpose
        ' is to cause all the formulas in the calc network to be recalculated.
        Me.ultraCalcManager1.DirtyAllFormulas()

        ' You have to call ReCalc if you want the formulas to be synchronously calcualted.
        ' By default they are calculated on a timer.
        Me.ultraCalcManager1.ReCalc(-1)
    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 button1_Click(object sender, System.EventArgs e)
		{
			// Typically there is no need to call DirtyAllFormulas method. It's purpose
			// is to cause all the formulas in the calc network to be recalculated.
			this.ultraCalcManager1.DirtyAllFormulas( );

			// You have to call ReCalc if you want the formulas to be synchronously calcualted.
			// By default they are calculated on a timer.
			this.ultraCalcManager1.ReCalc( -1 );
		}
参照