FlexPivot for WinForms
DeferUpdate メソッド (ScrollableControl)
使用例 

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid.Util.BaseControls 名前空間 > ScrollableControl クラス : DeferUpdate メソッド
Suspends notifications until the returned System.IDisposable object is disposed.
シンタックス
'宣言
 
Public Function DeferUpdate() As System.IDisposable
public System.IDisposable DeferUpdate()

戻り値の型

An System.IDisposable object that must be disposed to restore notifications.
解説
This method is typically used in update blocks to perform batch updates efficiently and safely.
使用例

The example below shows how you can use the DeferUpdate method to suspend notifications while setting the width of several columns.

Note that the call to the DeferUpdate method is placed in a using statement, which automatically disposes of the object and restores updates at the end of the block, even if the code within the block throws an exception. This makes the code more readable and concise than calling the more traditional BeginUpdate and EndUpdate methods within a try/finally block.

var grid = new C1FlexGrid();
using (grid.DeferUpdate())
{
  foreach (Column col in grid.Columns)
  {
    col.Width = 100;
  }
}
参照

ScrollableControl クラス
ScrollableControl メンバ