Skip to main content

TcxCustomGridView.BeginUpdate(TcxGridShowLockedStateImageMode) Method

Prevents the current View’s updates until the EndUpdate or CancelUpdate method is called.

Declaration

procedure BeginUpdate(AShowLockedStateImage: TcxGridShowLockedStateImageMode = lsimNever);

Parameters

Name Type
AShowLockedStateImage TcxGridShowLockedStateImageMode

Remarks

Calling the BeginUpdate method prevents the current View from repainting until the EndUpdate or the CancelUpdate method is called. This mechanism helps improve the application’s performance. To accept changes and to invalidate a View, call the EndUpdate method. To accept changes without View invalidation, call the CancelUpdate method.

AShowLockedStateImage specifies the “Locked View” image display mode.

See Also