RepositoryItemTokenEdit.Tokens Property
Provides access to this TokenEdit control’s token collection.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v22.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraEditors.TokenEditTokenCollection | A DevExpress.XtraEditors.TokenEditTokenCollection object that stores this TokenEdit control’s tokens. |
Remarks
Tokens stored within the Tokens collection are divided into two groups.
Predefined tokens, added to the Tokens collection in code or at design-time via the editor’s smart tag (see the figure below).
- Tokens added to the Tokens collection after the application was launched. This requires the RepositoryItemTokenEdit.TokenPopulateMode property set to the Default value. Refer to this link for details.
Items stored within the Tokens collection are displayed within the editor’s drop-down list if it is enabled (see the RepositoryItemTokenEdit.ShowDropDown property). See the Token Edit Control topic to learn more.