Back to Devexpress

TcxLockedStateImageShowingMode Enum

vcl-cxcontrols-0fa12416.md

latest3.1 KB
Original Source

TcxLockedStateImageShowingMode Enum

Enumerates Locked State image display modes.

Declaration

delphi
TcxLockedStateImageShowingMode = (
    lsimNever,
    lsimPending,
    lsimImmediate
);

Members

NameDescription
lsimNever

Default. The control does not display the Locked State image during a time-consuming batch operation.

| | lsimPending |

The control displays the Locked State image when a user attempts to interact with the control’s UI during a time-consuming batch operation.

| | lsimImmediate |

The control displays the Locked State image when a time-consuming batch operation starts.

|

Remarks

Time-consuming calculations in the UI thread render a control non-interactive. A Locked State image displays the control with a dark or light visual effect and an optional message box to inform users that a time-consuming operation is underway and the application UI is disabled.

Direct TcxLockedStateImageShowingMode Type References

The following public API member references the TcxLockedStateImageShowingMode type:

TcxPivotGridOptionsLockedStateImage.ModeEnables the display of a “Locked View“ image.

The following procedure accepts a TcxLockedStateImageShowingMode value as the AMode parameter:

TdxCustomSpreadSheet.BeginUpdatePostpones all redraw operations and related notifications that reflect any document and setting changes until an EndUpdate procedure call.

Indirect TcxLockedStateImageShowingMode Type References

The following procedure accept a TcxGridShowLockedStateImageMode[1] value as the AMode parameter:

TcxCustomGrid.BeginUpdatePrevents a grid control from being updated until one of the EndUpdate or CancelUpdate methods is called.TcxCustomGridView.BeginUpdatePrevents the current View’s updates until the EndUpdate or CancelUpdate method is called.

Footnotes

  1. The TcxGridShowLockedStateImageMode type is an alias of the TcxLockedStateImageShowingMode type.

See Also

TcxLockedStateImageEffect Type

TcxGridShowLockedStateImageMode Type

cxControls Unit