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

TcxCustomBlobEditProperties.OnGetGraphicClass Event

In This Article

Occurs when the graphic class of the image assigned to a BLOB editor, which is used as an in-place editor, is being determined.

#Declaration

Delphi
property OnGetGraphicClass: TcxImageGraphicClassEvent read; write;

#Remarks

This event is fired whenever the graphic class of the graphical data which is assigned to a BLOB editor is determined, i.e. when the Properties.PictureGraphicClass property value is not set. The OnGetGraphicClass event is useful when the editor is used as an in-place editor (in a grid control, for example) and should display graphical data of various types. You can set specific graphic class for each data record (represented by its index) and the item in this record (a column or row) for which the BLOB editor is displayed, which are represented by the ARecordIndex and AItem parameters correspondingly. The APastingFromClipboard parameter is equal to True when the image assigned to the editor is pasted from the clipboard and False in all other cases. The AGraphicClass parameter specifies the graphic class assigned to the image. This can be a non-registered graphic class (not a bitmap graphic, metafile graphic, icon, JPEG compressed image data).

See Also