| GridControlLockUpdate Method |
Prevents display of updates.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax Public Function LockUpdate As Boolean
public:
bool LockUpdate()
Return Value
Type:
BooleanThe 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