Back to Devexpress

TcxCustomGrid.OnPrepareLockedStateImage Event

vcl-cxgrid-dot-tcxcustomgrid-794851f4.md

latest1.0 KB
Original Source

TcxCustomGrid.OnPrepareLockedStateImage Event

Enables you to custom paint a “Locked View“ image.

Declaration

delphi
property OnPrepareLockedStateImage: TcxGridPrepareLockedStateImageEvent read; write;

Remarks

This event fires on the “Locked View” image repaint.

Sender specifies the grid that generated the event.

AImage specifies the image to be displayed. This parameter is initialized with an image of the currently active grid View.

ADone specifies whether image processing is performed on the image. The image processing includes applying the visual effect and painting the message box over the image as specified via the grid’s LockedStateImageOptions option set. Pass True as the ADone parameter to prevent image processing.

See Also

TcxCustomGrid Class

TcxCustomGrid Members

cxGrid Unit