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

RepositoryItemTokenEdit.CheckedItems Property

Returns the object that contains all currently checked tokens in this TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[Browsable(false)]
public TokenEditCheckedItemCollection CheckedItems { get; }

Property Value

Type Description
DevExpress.XtraEditors.TokenEditCheckedItemCollection

A DevExpress.XtraEditors.TokenEditCheckedItemCollection object that contains all currently checked tokens in this TokenEdit.

Remarks

To check (select) a token in the TokenEdit, an end-user should click its header (or glyph, if the RepositoryItemTokenEdit.DeleteTokenOnGlyphClick property equals DefaultBoolean.False). Depending on the RepositoryItemTokenEdit.CheckMode property value, the editor can have either one or multiple tokens selected simultaneously. The CheckedItems collection returns all currently selected (checked) tokens for this editor.

Important

Do not confuse the CheckedItems and RepositoryItemTokenEdit.SelectedItems collections. The SelectedItems collection returns all tokens currently visible within the editor, while the CheckedItems collection contains only those tokens currently checked.

The CheckedItems collection is designed only to return checked tokens. Do not manually modify this collection via Add, AddRange, Remove or other methods.

See Also