Skip to main content

RepositoryItemTokenEdit.TokenRemoving Event

Fires when a token is about to be removed from this TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Events")]
public event TokenEditTokenRemovingEventHandler TokenRemoving

Event Data

The TokenRemoving event's data class is DevExpress.XtraEditors.TokenEditTokenRemovingEventArgs.

Remarks

Before a token is removed from the TokenEdit control, the TokenRemoving event occurs. You can handle this event and use its e.Token and e.Cancel property to get information about the target token and prevent it from being removed respectively. If the TokenRemoving event was not canceled, it is followed by the RepositoryItemTokenEdit.TokenRemoved event.

See Also