Syntax

Event Data

The event handler receives an argument of type DevExpress.XtraEditors.TokenEditTokenClickEventArgs containing data related to this event.

Remarks

The TokenClick event occurs when an end-user clicks a token caption or token glyph currently displayed by this TokenEdit control token. You can read the e.Value and e.Description parameter to get which exact token was clicked.

Note

The TokenClick event fires regardless of which token part was clicked - token caption or token glyph. If the DeleteTokenOnGlyphClick property equals true, clicking the token icon will automatically remove the corresponding token, whatever code the TokenClick event handler executes.