wpf-devexpress-dot-xpf-dot-editors-0c2f300f.md
Provides access to token settings and allows you to control the token editing process.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public class TokenEditorBehavior :
Behavior<LookUpEditBase>,
ITokenEditorBehavior
Public Class TokenEditorBehavior
Inherits Behavior(Of LookUpEditBase)
Implements ITokenEditorBehavior
The TokenEditorBehavior provides multiple events (e.g., TokenEditorBehavior.TokensChanged, TokenEditorBehavior.TokensChanging, etc.) that allow you to control token editing.
The example below illustrates how to apply the behavior to a ComboBoxEdit.
<Window ...
xmlns:mvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"/>
...
<dxe:ComboBoxEdit>
<dxe:ComboBoxEdit.StyleSettings>
<dxe:TokenComboBoxStyleSettings/>
</dxe:ComboBoxEdit.StyleSettings>
<mvvm:Interaction.Behaviors>
<dxe:TokenEditorBehavior x:Name="tokenEditorBehavior"/>
</mvvm:Interaction.Behaviors>
</dxe:ComboBoxEdit>
Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<LookUpEditBase> TokenEditorBehavior
See Also