Skip to main content
A newer version of this page is available. .

TokenEdit Class

The text editor that applies custom validation to the entered text and transforms text blocks which passed this validation to tokens. See Token Edit Control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

public class TokenEdit :
    BaseEdit,
    IPopupControl,
    IPopupControlHookPopupFactory,
    IMouseWheelSupport,
    IDXMenuSupport

The following members return TokenEdit objects:

Remarks

The TokenEdit is an advanced text editor that can apply custom validation logic to the entered text and transform those text blocks that have successfully passed this validation into tokens - visual elements capable of displaying glyphs and firing various events (e.g., the RepositoryItemTokenEdit.TokenClick or RepositoryItemTokenEdit.TokenMouseEnter event).

Tagline Edit - MailDemo

The TokenEdit control supports two edit modes (RepositoryItemTokenEdit.EditMode), peek panels for tokens being hovered and a drop-down list with auto-complete options.

See the Token Edit Control topic for a complete description of the editor.

See Also