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

TdxTokenEditProperties.OnCustomDrawToken Event

In This Article

Enables you to implement the custom painter for token boxes in the token editor.

#Declaration

Delphi
property OnCustomDrawToken: TdxTokenEditCustomDrawTokenEvent read; write;

#Remarks

The Sender parameter specifies the token whose box is being painted.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter provides ViewInfo information required for painting a token box.

The AHandled parameter specifies if default painting is required. Set AHandled to True if you implement the custom token box painter in the OnCustomDrawToken event handler.

See Also