Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGrid.OnPrepareLockedStateImage Event

In This Article

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