Back to Devexpress

TcxCustomGridView.BeginUpdate(TcxGridShowLockedStateImageMode) Method

vcl-cxgridcustomview-dot-tcxcustomgridview-dot-beginupdate-x28-cxgridcustomview-dot-tcxgridshowlockedstateimagemode-x29.md

latest1.4 KB
Original Source

TcxCustomGridView.BeginUpdate(TcxGridShowLockedStateImageMode) Method

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

Declaration

delphi
procedure BeginUpdate(AShowLockedStateImage: TcxGridShowLockedStateImageMode = lsimNever);

Parameters

NameType
AShowLockedStateImageTcxGridShowLockedStateImageMode

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

TcxCustomGridView Class

TcxCustomGridView Members

cxGridCustomView Unit