RepositoryItemTokenEdit.CustomDrawTokenText Event
Allows you to re-paint the token text area.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DXCategory("Events")]
public event TokenEditCustomDrawTokenTextEventHandler CustomDrawTokenText
Event Data
The CustomDrawTokenText event's data class is DevExpress.XtraEditors.TokenEditCustomDrawTokenTextEventArgs.
Remarks
Handle the CustomDrawTokenText event to apply custom drawing to the token text and its background. You can also handle the RepositoryItemTokenEdit.CustomDrawTokenGlyph event to replace the default token glyph with your own custom icon. The figure below illustrates a custom drawn token.
Refer to the Token Edit Control topic for a detailed example.
See Also