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.OnTokenDelete Event

In This Article

Enables you to respond to an attempt to remove a token box from the token editor.

#Declaration

Delphi
property OnTokenDelete: TdxTokenEditTokenCollectionChangingEvent read; write;

#Remarks

This event is raised when an end-user attempts to delete a token (i.e., either clicks the Close glyph or presses the Backspace key when the non-empty token editor is focused). Pass False as the AAllow parameter to forbid removing this token from the editor.

The Sender parameter specifies the token editor that raised the event.

Use the AToken and ATokenText parameters to identify the token by its token object and text, respectively.

Note

All token boxes do not display Close glyphs if the CloseGlyphPosition property is set to teepNone. In this case, end-users can only use the Backspace key to delete tokens.

See Also