This example creates a custom token editor (CustomTokenEdit
) that displays a checkbox in tokens.
You can use the custom token editor as a standalone editor or as a cell editor in data-aware controls (for example, Data Grid, TreeList).
Tokens are of the CustomTokenEditToken
type. This class inherits base functionality from the TokenEditToken class and introduces a new Checked
property. When the checked state of a token changes, the editor raises the RepositoryItemCustomTokenEdit.TokenCheckedChanged
event.
- CustomTokenEdit.cs
- CustomTokenEditCheckedItemCollection.cs
- CustomTokenEdithandler.cs
- CustomTokenEditHitInfo.cs
- CustomTokenEditPainter.cs
- CustomTokenEditSelectedItemCollection.cs
- CustomTokenEditToken.cs
- CustomTokenEditTokenInfo.cs
- CustomTokenEditViewInfo.cs
- RepositoryItemCustomTokenEdit.cs
- TokenCheckedChangedEventArgs.cs
- Form1.cs
(you will be redirected to DevExpress.com to submit your response)