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

TdxCustomAdorner.OnClick Event

In This Article

Allows you to respond to a click on the UI adorner element.

#Declaration

Delphi
property OnClick: TdxAdornerNotifyEvent read; write;

#Remarks

You can handle this event to implement a custom response to a click on the current adorner. To execute a specific code in response to clicking different adorners, you can either handle their OnClick events or identify individual adorners (by using their class names and indexes within the corresponding collection, for instance) within the UI adorner manager‘s OnAdornerClick event handler.

Refer to the TdxAdornerNotifyEvent procedural type description for additional information on parameters accessible from an OnClick event handler.

Note

A click on a guide UI adorner additionally raises the OnGetCalloutPopupControl event if the adorner’s AllowCalloutPopup property is set to True.

See Also