Back to Devexpress

TokenComboBoxStyleSettings Class

wpf-devexpress-dot-xpf-dot-editors-78494605.md

latest3.3 KB
Original Source

TokenComboBoxStyleSettings Class

Defines the token combo box editor appearance and behavior.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class TokenComboBoxStyleSettings :
    ComboBoxStyleSettings,
    ITokenStyleSettings
vb
Public Class TokenComboBoxStyleSettings
    Inherits ComboBoxStyleSettings
    Implements 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.

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.

xaml
<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 BaseComboBoxStyleSettings ComboBoxStyleSettings TokenComboBoxStyleSettings

See Also

TokenComboBoxStyleSettings Members

ComboBoxStyleSettings

Editor Operation Modes

DevExpress.Xpf.Editors Namespace