Skip to main content
A newer version of this page is available. .

TokenComboBoxStyleSettings Class

Defines the token combo box editor appearance and behavior.

Namespace: DevExpress.Xpf.Editors

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TokenComboBoxStyleSettings class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

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