TokenEdit.RemoveItem(Object) Method
Hides a token with the specified value from the TokenEdit control’s textbox.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
value | Object | An Object that is the value of the token that will be hidden. |
Remarks
This operation removes the specified token from the TokenEdit.SelectedItems collection. Note that the hidden token stays within the control’s RepositoryItemTokenEdit.Tokens collection.
The code sample below illustrates how to hide a token with the February value.
tokenEdit.EditValue = "January, February, March, April, May";
tokenEdit.RemoveItem("February");
See Also