A newer version of this page is available. Switch to the current version.

TokenEditorBehavior.TokenActivating Event

Occurs when a token is about to receive input focus.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public event EventHandler<TokenActivatingEventArgs> TokenActivating
Public Event TokenActivating As EventHandler(Of TokenActivatingEventArgs)

Event Data

The TokenActivating event's data class is TokenActivatingEventArgs. The following properties provide information specific to this event:

Property Description
IsCancel Cancels the token activation.
Value Gets the value of the token that is about to be activated.

Remarks

Use the TokenActivating property to prevent a user from editing token text.

See Also