Click or drag to resize
GridControlLockUpdate Method
Prevents display of updates.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public bool LockUpdate()

Return Value

Type: Boolean
The previous lock-update-state.
Remarks
Equivalent to LockUpdate(true). Call this method if you have several subsequent commands that change the grid. Normally each command updates the grid (or invalidates the affected rectangle) immediately, which results in slowing down performance substantially. If you call LockUpdate(), subsequent commands need not invalidate the grid (and compute cell/window coordinates). After doing your series of commands, you should call LockUpdate(false) and RedrawGrid to refresh the whole grid.
See Also