Skip to main content

TokenComboBoxStyleSettings Class

Defines the token combo box editor appearance and behavior.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public class TokenComboBoxStyleSettings :
    ComboBoxStyleSettings,
    ITokenStyleSettings

Remarks

A TokenComboBoxStyleSettings object defines the Token combo box operation mode.

This mode is inspired by modern mail clients and supports multi-selection. Selected values are represented by tokens.

ComboBoxEditStyleSettingsToken

TokenComboBoxStyleSettings objects contain properties that allow you to control the token behavior.

The following code demonstrates how to switch the combo box operation mode to Token and configure a new token position.

<dxe:ComboBoxEdit>
    <dxe:ComboBoxEdit.StyleSettings>
        <dxe:TokenComboBoxStyleSettings NewTokenPosition="Far"/>
    </dxe:ComboBoxEdit.StyleSettings>
</dxe:ComboBoxEdit>

Tip

For the complete list of the ComboBoxEdit control operation modes, see ComboBoxEdit operation modes.

Tip

Use the TokenEditorBehavior to control token editing.

Inheritance

Show 15 items
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
BaseEditStyleSettings
DevExpress.Xpf.Editors.TextEditStyleSettings
DevExpress.Xpf.Editors.ButtonEditStyleSettings
DevExpress.Xpf.Editors.PopupBaseEditStyleSettings
DevExpress.Xpf.Editors.BaseItemsControlStyleSettings<LookUpEditBase>
DevExpress.Xpf.Editors.BaseLookUpStyleSettings
See Also