Occurs when a token is about to be added to or removed from the edit field.
public event EventHandler<TokensChangingEventArgs> TokensChanging
Public Event TokensChanging As EventHandler(Of TokensChangingEventArgs)
The TokensChanging event's data class is TokensChangingEventArgs. The following properties provide information specific to this event:
|AddedTokens||Gets the list of tokens that have been added. Inherited from TokensChangedEventArgs.|
|IsCancel||Cancels the token modification.|
|RemovedTokens||Gets the list of tokens that have been removed. Inherited from TokensChangedEventArgs.|
Handle the TokensChanging event to prevent a user from adding or removing tokens.
The TokensChanging event is fired when the new token is added by entering data in the editor's edit field.